From 2b75be0b19f0deaf22dc4d896272e6394c0104e4 Mon Sep 17 00:00:00 2001 From: Maxime Date: Wed, 11 Dec 2024 15:27:20 +0100 Subject: [PATCH] create driver --- config.yaml | 2 + .../_partials/create-driver.html | 343 +++++++++++++----- 2 files changed, 250 insertions(+), 95 deletions(-) diff --git a/config.yaml b/config.yaml index b2e80f8..4a34e29 100644 --- a/config.yaml +++ b/config.yaml @@ -228,6 +228,8 @@ views: create_driver: files: - web/layouts/solidarity_service/_partials/create-driver.html + - web/layouts/_partials/address_autocomplete.html + icons: svg: coopgo:parcoursmob/monogram: diff --git a/web/layouts/solidarity_service/_partials/create-driver.html b/web/layouts/solidarity_service/_partials/create-driver.html index 0b7086d..82fcc4e 100644 --- a/web/layouts/solidarity_service/_partials/create-driver.html +++ b/web/layouts/solidarity_service/_partials/create-driver.html @@ -1,101 +1,254 @@ {{define "content"}} -
-
-

- Créer un conducteur -

-
-
-
-
-
-
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
+
+

Ajouter un conducteur

+
+ +
+ +
+
+
+

Informations obligatoires

+

Informations personnelles sur le conducteur obligatoires + pour créer son profil dans PARCOURSMOB

+
+
+
+
+ +
- + +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+
- +
-
-
-{{end}} \ No newline at end of file + +
+
+
+

Informations optionnelles

+

Autres informations de profil optionnelles

+
+
+
+ +
+ +
+ +
+
+ + + + +
+
+
+
+
+
+
+

Paramètres

+

Paramètres liés au conducteur, utiles pour exploiter les fonctionnalités de PARCOURSMOB

+
+
+ + {{ $fieldName := "address" }} + {{ template "address_autocomplete" dict "FieldName" $fieldName }} + + + +
+
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+ +
+ +
+

Certains champs de sont pas valides.

+ + + + +
+ +
+{{end}}