{% extends 'speeches/base.html' %} {% load i18n %} {% block title %} {% if object %} {% trans 'Edit section' %} {% else %} {% trans 'Add a section' %} {% endif %} {% endblock %} {% block content %}
{% if object %} {% include 'speeches/form.html' with type="section" submit="Update section" %} {% else %} {% include 'speeches/form.html' with type="section" submit="Add section" %} {% endif %}
{% endblock %}