{% set title = 'Edit topic' %} {% extends "base.html" %} {% import "parts/form.html" as f %} {% import "parts/navigation.html" as nav %} {% block body %}
{{ form.submit(class='ok', accesskey='s') }} {% if edit_topic != None %} {{ form.publish(class='ok', disabled=edit_topic.public, title='Publish the topic and notify students.') }} {% endif %} Cancel {% if edit_topic != None %}
{{ form.delete(class='danger') }} (including {{ post_count }} posts) {% endif %}