2023-04-28 18:35:42 +02:00
|
|
|
{% import "includes/macros" as macros %}
|
|
|
|
|
|
|
|
<div class="hidden">
|
|
|
|
<form action="/admin/planned-event" method="post" class="grid gap-3" id="addEventForm">
|
|
|
|
<input class="day-js" type="hidden" name="day" value="" />
|
|
|
|
{{ macros::input(label='Titel (z.B. Firmenrudern)', name='name', type='input', required=true) }}
|
|
|
|
{{ macros::input(label='Startzeit', name='planned_starting_time', type='time', required=true) }}
|
|
|
|
{{ macros::input(label='Anzahl Steuerleute', name='planned_amount_cox', type='number', required=true, min='0') }}
|
|
|
|
{{ macros::input(label='Anzahl Ruderer (ohne Steuerperson)', name='max_people', type='number', required=true, min='0') }}
|
2023-04-29 18:57:01 +02:00
|
|
|
{{ macros::checkbox(label='Gäste erlauben', name='allow_guests') }}
|
2023-04-28 18:35:42 +02:00
|
|
|
{{ macros::input(label='Anmerkungen', name='notes', type='input') }}
|
2023-05-03 16:14:18 +02:00
|
|
|
{{ macros::select(select_name='trip_type', trip_types=trip_types, default='Reguläre Ausfahrt') }}
|
|
|
|
|
2023-04-28 18:35:42 +02:00
|
|
|
<input value="Erstellen" class="w-full btn btn-primary" type="submit" />
|
|
|
|
</form>
|
2023-04-28 21:21:21 +02:00
|
|
|
</div>
|