{% extends 'admin/admin.html' %} {% set title = photo.title or 'Unnamed photo' %} {% set active_page = 'photos' %} {% block body %} {{ photo.title or 'Unnamed photo' }} {{ photo.description or 'No description'}} {{ form.csrf_token }} {{ form.photo.label }} {{ form.photo }} {{ form.title.label }} {{ form.title }} {{ form.description.label }} {{ form.description }} Submit Remove {% endblock %}