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