{% extends "eventcalendar/event_form_base.html" %} {% load i18n %} {% load static from staticfiles %} {% load crispy_forms_tags %} {% block pagetitle %}Create Event{% endblock %} {% block extra_head %} {{ block.super }} {{ form.media }} {% endblock extra_head %} {% block body %}
{% crispy form form.form_helper %} {% for inline in inlines %}

{{ inline.prefix|capfirst }}

{{ inline.management_form|crispy }} {{ inline.non_form_errors }} {% for formset in inline %} {% include "eventcalendar/_schedule_inline.html" %} {% endfor %} {% include "eventcalendar/_schedule_inline.html" with formset=inline.empty_form schedule_helper=schedule_helper empty=True only %}
{% endfor %}
{% if object.id %}{% trans "Delete" %}{% endif %}
{% endblock body %} {% block footer_js %} {{ block.super }} {% endblock footer_js %}