31 lines
1.5 KiB
HTML
31 lines
1.5 KiB
HTML
{{define "beneficiary_vehicles"}}
|
|
<div class="px-4 py-6 sm:px-6">
|
|
<h3 class="text-lg">Réserver un véhicule</h3>
|
|
<form method="GET" action="/app/vehicles/">
|
|
<input type="hidden" name="beneficiaryid" value="{{.ViewState.ID}}">
|
|
<div class="py-4 grid grid-cols-2">
|
|
<div class="lg:col-span-1">
|
|
<label for="startdate" class="block text-sm font-medium text-gray-700">Du</label>
|
|
<div class="mt-1">
|
|
<input type="date" id="startdate" name="startdate"
|
|
class="shadow-sm focus:ring-co-blue focus:border-co-blue block w-full sm:text-sm border-gray-300 rounded-l-2xl border-r-1">
|
|
</div>
|
|
</div>
|
|
<div class="lg:col-span-1">
|
|
<label for="enddate" class="block text-sm font-medium text-gray-700">Au</label>
|
|
<div class="mt-1">
|
|
<input type="date" id="enddate" name="enddate"
|
|
class="shadow-sm focus:ring-co-blue focus:border-co-blue block w-full sm:text-sm border-gray-300 rounded-r-2xl border-l-0">
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
{{template "vehicle_type_select" .}}
|
|
|
|
<button type="submit"
|
|
class="rounded-2xl border border-transparent bg-co-blue px-4 py-2 my-4 mt-8 w-full text-sm font-medium text-white shadow-sm focus:outline-none focus:ring-2 focus:ring-co-blue focus:ring-offset-2 sm:w-auto">
|
|
Chercher
|
|
</button>
|
|
</form>
|
|
</div>
|
|
{{end}} |