[TASK] styling boat form
This commit is contained in:
parent
33b06dc582
commit
501272ca7f
@ -11,14 +11,14 @@
|
|||||||
</h2>
|
</h2>
|
||||||
<div class="hidden">
|
<div class="hidden">
|
||||||
<div id="new-boat">
|
<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="Name", name="name", type="text", required=true) }}
|
||||||
{{ macros::input(label="Anzahl Sitze", name="amount_seats", type="number", required=true, min=1) }}
|
{{ 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="Baujahr", name="year_built", type="number", min=1950, max=2050) }}
|
||||||
{{ macros::input(label="Bootsbauer", name="boatbuilder", type="text") }}
|
{{ macros::input(label="Bootsbauer", name="boatbuilder", type="text") }}
|
||||||
{{ macros::select(label="Standort", data=locations, name='location_id', selected_id=1) }}
|
{{ macros::select(label="Standort", data=locations, name='location_id', selected_id=1) }}
|
||||||
{{ macros::select(label="Besitzer", data=users, name='owner', default="Verein") }}
|
{{ 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="handgesteuert", name="default_shipmaster_only_steering")}}
|
||||||
{{ macros::checkbox(label="Skull", name="skull", checked=true)}}
|
{{ macros::checkbox(label="Skull", name="skull", checked=true)}}
|
||||||
{{ macros::checkbox(label="Externes Boot (anderer Verein)", name="external")}}
|
{{ macros::checkbox(label="Externes Boot (anderer Verein)", name="external")}}
|
||||||
|
Loading…
Reference in New Issue
Block a user