wip: age based filtering of options

This commit is contained in:
Björn Fromme
2026-03-16 11:59:09 +01:00
parent 89c42cf7e4
commit b038d9a41f
3 changed files with 118 additions and 1 deletions
+7 -1
View File
@@ -27,7 +27,13 @@
<div class="grid grid-cols-2 gap-4 pb-4">
{{ form_row(participant.firstName) }}
{{ form_row(participant.lastName) }}
{{ form_row(participant.dateOfBirth) }}
{# hx-swap="none" tells HTMX not to do a normal swap, as OOB will handle it #}
{{ form_row(participant.dateOfBirth, {
'attr': {
'hx-post': path('app_booking_create_step_2_refresh'),
'hx-swap': 'none'
}
}) }}
{{ form_row(participant.gender) }}
{{ form_row(participant.nationality) }}
</div>