{% extends "mobile/coach/base.html" %} {% load i18n %} {% comment %} C5 -- design_handoff_rosterchief_platform/README.md's C5 section: title, body, photos, posted for the coach's active team. See CoachCreateNewsView's own docstring for what's scoped down from the mock (no English fallback, no audience/visibility toggle -- teams is a hidden field locked to the active team, not a picker) 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" %}
{% for error in form.non_field_errors %}

{{ error }}

{% endfor %} {% for error in photo_form.non_field_errors %}

{{ error }}

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

{{ error }}

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

{{ error }}

{% endfor %}
{{ photo_form.images }}

{% trans "Optional. The first photo becomes the main picture." %}

{% for error in photo_form.images.errors %}

{{ error }}

{% endfor %}

{% blocktrans with team=active_team.name %}Linked to {{ team }} and sent to an editor for review before it goes out to families -- they can widen who it reaches if needed.{% endblocktrans %}

{% endblock content %}