{% extends 'components/inline_form.html' %} {% load i18n %} {% block header %} {% trans "Create Announcement" %} {% endblock %} {% block form %}
Name: {{ form.name }} {% for error in form.name.errors %}
{{ error | escape }}
Start date: {% for error in form.start_date.errors %}
End date: {% for error in form.end_date.errors %}
Active: {{ form.active }} {% for error in form.active.errors %}
Preview: {{ form.preview }} {% for error in form.preview.errors %}
Content: {{ form.content }} {% for error in form.content.errors %}
Event date: {% for error in form.event_date.errors %}