{% 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, so hx-boost="false" can sit on each without a formaction/htmx-boost mismatch (see event_detail. html's own top-of-file comment for that failure mode). {% 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 %}