format tera files
This commit is contained in:
		| @@ -1,17 +1,17 @@ | ||||
| {% 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="tripdetails.day" value="" /> | ||||
|     {{ macros::input(label='Titel (z.B. Firmenrudern)', name='name', type='input', required=true) }} | ||||
|     {{ macros::input(label='Startzeit', name='tripdetails.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='tripdetails.max_people', type='number', required=true, min='0') }} | ||||
|     {{ macros::checkbox(label='Gäste erlauben', name='tripdetails.allow_guests') }} | ||||
|     {{ macros::checkbox(label='Immer anzeigen', name='tripdetails.always_show') }} | ||||
|     {{ macros::input(label='Anmerkungen', name='tripdetails.notes', type='input') }} | ||||
|     {{ macros::select(data=trip_types, select_name='tripdetails.trip_type', default='Reguläre Ausfahrt') }} | ||||
| 	<form action="/admin/planned-event" method="post" class="grid gap-3" id="addEventForm"> | ||||
| 		<input class="day-js" type="hidden" name="tripdetails.day" value=""/> | ||||
| 		{{ macros::input(label='Titel (z.B. Firmenrudern)', name='name', type='input', required=true) }} | ||||
| 		{{ macros::input(label='Startzeit', name='tripdetails.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='tripdetails.max_people', type='number', required=true, min='0') }} | ||||
| 		{{ macros::checkbox(label='Gäste erlauben', name='tripdetails.allow_guests') }} | ||||
| 		{{ macros::checkbox(label='Immer anzeigen', name='tripdetails.always_show') }} | ||||
| 		{{ macros::input(label='Anmerkungen', name='tripdetails.notes', type='input') }} | ||||
| 		{{ macros::select(data=trip_types, select_name='tripdetails.trip_type', default='Reguläre Ausfahrt') }} | ||||
|  | ||||
|     <input value="Erstellen" class="w-full btn btn-primary" type="submit" /> | ||||
|   </form> | ||||
| 		<input value="Erstellen" class="w-full btn btn-primary" type="submit"/> | ||||
| 	</form> | ||||
| </div> | ||||
|   | ||||
| @@ -1,15 +1,15 @@ | ||||
| {% import "includes/macros" as macros %} | ||||
|  | ||||
| <div class="hidden"> | ||||
|     <form action="/cox/trip" method="post" class="grid gap-3" id="sidebarForm"> | ||||
|         <input class="day-js" type="hidden" name="day" value="" /> | ||||
|         {{ macros::input(label='Startzeit (zB "10:00")', name='planned_starting_time', type='time', required=true) }} | ||||
|         {{ macros::input(label='Anzahl Ruderer (ohne Steuerperson)', name='max_people', type='number', required=true, min='0') }} | ||||
|     	{{ macros::checkbox(label='Gäste erlauben', name='allow_guests') }} | ||||
|     	{{ macros::checkbox(label='Immer anzeigen', name='always_show') }} | ||||
|         {{ macros::input(label='Anmerkungen', name='notes', type='input') }} | ||||
|     	{{ macros::select(data=trip_types, select_name='trip_type', default='Reguläre Ausfahrt') }} | ||||
| 	<form action="/cox/trip" method="post" class="grid gap-3" id="sidebarForm"> | ||||
| 		<input class="day-js" type="hidden" name="day" value=""/> | ||||
| 		{{ macros::input(label='Startzeit (zB "10:00")', name='planned_starting_time', type='time', required=true) }} | ||||
| 		{{ macros::input(label='Anzahl Ruderer (ohne Steuerperson)', name='max_people', type='number', required=true, min='0') }} | ||||
| 		{{ macros::checkbox(label='Gäste erlauben', name='allow_guests') }} | ||||
| 		{{ macros::checkbox(label='Immer anzeigen', name='always_show') }} | ||||
| 		{{ macros::input(label='Anmerkungen', name='notes', type='input') }} | ||||
| 		{{ macros::select(data=trip_types, select_name='trip_type', default='Reguläre Ausfahrt') }} | ||||
|  | ||||
|         <input value="Erstellen" class="w-full btn btn-primary" type="submit" /> | ||||
|     </form> | ||||
| 		<input value="Erstellen" class="w-full btn btn-primary" type="submit"/> | ||||
| 	</form> | ||||
| </div> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user