A Python content management system designed for kirsle.net featuring a blog, comments and photo albums. https://rophako.kirsle.net/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

16 lines
516 B

  1. {% extends "layout.html" %}
  2. {% block title %}Delete Photo{% endblock %}
  3. {% block content %}
  4. <h1>Delete Photo</h1>
  5. <img src="{{ app['photo_url'] }}/{{ photo['thumb'] }}" class="portrait"><p>
  6. <form name="delete" action="{{ url_for('photo.delete', key=key) }}" method="POST">
  7. <input type="hidden" name="token" value="{{ csrf_token() }}">
  8. Are you <strong>sure</strong> you want to delete this photo?<p>
  9. <button type="submit" class="btn btn-warning">Yes, Delete This Photo</button>
  10. </form>
  11. {% endblock %}