{% extends 'components/inline_form.html' %} {% load i18n %} {% block header %} {% if announcement %} {% trans "Edit Announcement" %} {% else %} {% trans "Create Announcement" %} {% endif %} {% endblock %} {% block form %} {% csrf_token %}

Preview: {{ form.preview }} {% for error in form.preview.errors %}

{{ error | escape }}

{% endfor %}

Content: {{ form.content }} {% for error in form.content.errors %}

{{ error | escape }}

{% endfor %}

Event date: {% for error in form.event_date.errors %}

{{ error | escape }}

{% endfor %}

Start date: {% for error in form.start_date.errors %}

{{ error | escape }}

{% endfor %}

End date: {% for error in form.end_date.errors %}

{{ error | escape }}

{% endfor %}

Active: {{ form.active }} {% for error in form.active.errors %}

{{ error | escape }}

{% endfor %}
{% endblock %}