{% load i18n lucide %} {% comment %} One referee sign-up row on M3's Calendar -- a home game the signed-in account is eligible (and, once responded, confirmed) to referee for. Merged into the same chronological list as the account's own RSVP rows (mobile/_calendar_row.html), but in the referee accent (assets/mobile. css's --color-referee/.pill-referee) so it reads as a different kind of commitment at a glance -- and scoped to self.me only (mobile/views.py's CalendarView), never managed_people, since a referee is an adult acting on their own behalf, not something a parent does for a child. Expects ``row`` ({event, referee_signup}) in scope. Accept/Decline are two small forms, not a single multi-button one -- and, unlike this app's RSVP forms, boosted (no hx-boost="false"): nothing here is Alpine-owned/toggled, so there's no htmx/Alpine conflict to dodge, and a boosted POST avoids the jarring full-page reload a plain form submit would cause on a page the user is mid-scroll on. {% endcomment %}
{{ row.event.start|date:"D" }}
{{ row.event.start|date:"d" }}
{% lucide "flag" size=13 stroke_width=2.4 class="shrink-0 text-referee" %} {% trans "Referee" %} · {{ row.event.title }}
{{ row.event.start|date:"H:i" }} {% for team in row.event.teams.all %}· {{ team.name }}{% endfor %} {% if row.event.location %}· {{ row.event.location.name }}{% endif %}
{% if row.referee_signup.status == "accepted" %} {% trans "Confirmed" %} {% else %}
{% csrf_token %}
{% csrf_token %}
{% endif %}