{% extends "admin_extra_buttons/action_page.html" %} {% block action-content %} {% if custom_template %}
{% if created %} Template {{ custom_template }} successfully created {% else %} Template {{ custom_template }} already exists {% endif %}
Edit
{% elif form %}
{% csrf_token %} {{ form.errors }} {{ form }}
{% else %} View All Messages

New messages

{% for msg in added %} {% endfor %}
{{ msg.msgid }}
{% endif %} {% endblock action-content %}