From 8778f88fbd5adcf00d2f2bab8d165386f6941998 Mon Sep 17 00:00:00 2001 From: soukainna Date: Wed, 10 May 2023 12:16:52 +0200 Subject: [PATCH] fix the type of vehicle --- .../vehicles_management/fleet-update.html | 52 +++++++++++++++---- 1 file changed, 41 insertions(+), 11 deletions(-) diff --git a/web/layouts/vehicles_management/fleet-update.html b/web/layouts/vehicles_management/fleet-update.html index e4fc82a..0b0c2a2 100644 --- a/web/layouts/vehicles_management/fleet-update.html +++ b/web/layouts/vehicles_management/fleet-update.html @@ -3,23 +3,26 @@ {{ if eq (index .ViewState.vehicle.Administrators 0) .Group.ID }}
-

Modifier un véhicule

+

Modifier le véhicule

@@ -48,19 +55,44 @@
- +
- {{template "vehicle_type_select" .}} + + +
+ Automatique +
+
+ {{if .ViewState.vehicle.Data.automatic}} + + {{else}} + + {{end}} +
+
+ +

Ce véhicule a une boite automatique.

+
+
+
+
+ class="block text-sm font-medium text-gray-700">Numéro (Immat, Bicycode, ...) - +
+ class="shadow-sm focus:ring-co-blue focus:border-co-blue block w-full sm:text-sm border-gray-300 rounded-2xl">{{ if .ViewState.vehicle.Data.informations}}{{.ViewState.vehicle.Data.informations}}{{end}}
@@ -108,7 +141,6 @@
- {{else}}
@@ -125,9 +157,7 @@
- Annuler -