{% extends 'speeches/base.html' %} {% load i18n %} {% block title %} {% if object %} {% trans 'Edit section' %} {% else %} {% trans 'Add section' %} {% endif %} {% endblock %} {% block content %}

{% if object %} {% trans 'Here is where you can edit a section.' %} {% else %} {% trans 'Here is where you can add a new section.' %} {% endif %}

{% 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 %}