{% load i18n %} {% comment %} Quick 2-way RSVP (In/Out) for a hero card -- Home's own (M1) and Coach Today's "Also yours" card share this exact markup. Picking "Out" first asks for an optional reason (Attendance.note) before submitting -- private by construction, not by a visibility flag: nothing anywhere renders another member's own note, so writing it here and reading it back in event_detail's "Your answers" (this same member/family) and Coach mode's bench attendance (mobile/templates/mobile/coach/attendance.html) is the entire access story, no extra permission check needed. Expects ``hero_attendance`` in scope. ``cross_shell`` (optional, truthy) adds hx-boost="false" to both forms -- pass this when included from Coach mode, since mobile:event_detail is a Member-shell view (see coach/ today.html's own comment on why that matters). Neither button is colour-coded (no green "In") -- nobody has answered yet at this point (that's the whole reason for the "are you in?" prompt), so a green default would misleadingly read as an already-recorded answer. Both are the same neutral steel tone and, via min-w-0, exactly the same width -- flex-1 alone doesn't guarantee that once one button's label is longer ("Out" vs "In"): flex items default to min-width:auto, so the longer label's own intrinsic width can win a bigger share of the row unless min-width is forced to 0 on both. {% endcomment %}