[TASK] styling boat form

This commit is contained in:
Marie Birner 2023-09-28 17:34:08 +02:00
parent 33b06dc582
commit 501272ca7f

View File

@ -11,14 +11,14 @@
</h2>
<div class="hidden">
<div id="new-boat">
<form action="/admin/boat/new" method="post" class="">
<form action="/admin/boat/new" method="post" class="grid gap-3">
{{ macros::input(label="Name", name="name", type="text", required=true) }}
{{ macros::input(label="Anzahl Sitze", name="amount_seats", type="number", required=true, min=1) }}
{{ macros::input(label="Baujahr", name="year_built", type="number", min=1950, max=2050) }}
{{ macros::input(label="Bootsbauer", name="boatbuilder", type="text") }}
{{ macros::select(label="Standort", data=locations, name='location_id', selected_id=1) }}
{{ macros::select(label="Besitzer", data=users, name='owner', default="Verein") }}
<div class="my-3">
<div>
{{ macros::checkbox(label="handgesteuert", name="default_shipmaster_only_steering")}}
{{ macros::checkbox(label="Skull", name="skull", checked=true)}}
{{ macros::checkbox(label="Externes Boot (anderer Verein)", name="external")}}