{% extends "mobile/coach/base.html" %} {% load i18n %} {% comment %} C5 -- design_handoff_rosterchief_platform/README.md's C5 section: title, body, and which of the coach's own teams this is for. See CoachCreateNewsView's own docstring for what's scoped down from the mock (no cover photo -- News has no such field; no English fallback; no audience/visibility toggle) and why the button reads "Send for review" rather than the mock's "Publish" -- a coach's post always needs an editor's sign-off first. {% endcomment %} {% block content %}
{% trans "Cancel" %} {% trans "New post" %}
{% if form.non_field_errors %}
{% for error in form.non_field_errors %}

{{ error }}

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

{{ error }}

{% endfor %}
{% trans "Body" %} {{ form.body }} {% for error in form.body.errors %}

{{ error }}

{% endfor %}
{% trans "Audience" %}
{% for checkbox in form.teams %} {{ checkbox.tag }} {{ checkbox.choice_label }} {% endfor %}
{% for error in form.teams.errors %}

{{ error }}

{% endfor %}

{% trans "Sent to an editor for review before it goes out to families." %}

{% endblock content %}