{% extends "mobile/coach/base.html" %} {% load i18n %} {% comment %} C4 -- design_handoff_rosterchief_platform/README.md's C4 section: three event-type tiles, title/date/location, "who" (teams), and an answers- close row. See CoachCreateEventView's own docstring for what's scoped down from the mock and why (no group/opponent/competition fields, no "Repeat weekly" yet). The white sticky Cancel/title/Create bar breaks out of the sheet's own padding (-mx-4 -mt-5), same trick calendar_feed_ settings.html/payments.html use for their own back-button bars. {% endcomment %} {% block content %}
{% trans "Cancel" %} {% trans "New event" %}
{% if form.non_field_errors %}
{% for error in form.non_field_errors %}

{{ error }}

{% endfor %}
{% endif %}
{% csrf_token %}
{{ form.title }} {% for error in form.title.errors %}

{{ error }}

{% endfor %}
{{ form.start }} {% for error in form.start.errors %}

{{ error }}

{% endfor %}
{{ form.location }}
{% trans "Who" %}
{% for checkbox in form.teams %} {% endfor %}
{% for error in form.teams.errors %}

{{ error }}

{% endfor %}
{{ form.deadline }}

{% trans "Leave blank to keep answers open until the event starts." %}

{% endblock content %}