Files
myep-team/templates/administrative/season_assignment/_done_teamer.html.twig
T

18 lines
844 B
Twig

{# Swapped in place by its own route, so the id and the outerHTML swap have to stay. #}
<div id="season-done-teamer" class="flex items-start space-x-2">
<input type="checkbox"
id="season-done-teamer-input"
class="mt-1 text-primary"
{{ seasonAssignment.doneTeamer ? 'checked' : '' }}
hx-post="{{ path('app_administrative_season_assignment_done_teamer', { 'uuid': seasonAssignment.uuid }) }}"
hx-target="#season-done-teamer"
hx-swap="outerHTML">
<label for="season-done-teamer-input">
<span class="font-bold">Teamer:in erledigt</span>
<span class="block text-sm text-gray-500">
Reiner Vermerk, die wöchentliche Erinnerung läuft weiter,
solange ein Punkt der Checkliste mit Rückgabe offen ist.
</span>
</label>
</div>