From 9aaa51a81f6e225d777dbd8c22d8fe8075ffe29e Mon Sep 17 00:00:00 2001 From: soukainna Date: Thu, 10 Nov 2022 16:44:48 +0100 Subject: [PATCH] add the description and the address part --- config.yaml | 1 + web/layouts/group_module/create_group.html | 27 +++++++++++++++++++++ web/layouts/group_module/display_group.html | 11 +++++++++ 3 files changed, 39 insertions(+) diff --git a/config.yaml b/config.yaml index 55815e1..e7449ef 100644 --- a/config.yaml +++ b/config.yaml @@ -107,6 +107,7 @@ views: - web/layouts/group_module/home.html create_group: files: + - web/layouts/_partials/address_autocomplete.html - web/layouts/group_module/create_group.html display_group: diff --git a/web/layouts/group_module/create_group.html b/web/layouts/group_module/create_group.html index 4936a2a..58a55a6 100644 --- a/web/layouts/group_module/create_group.html +++ b/web/layouts/group_module/create_group.html @@ -9,6 +9,7 @@ fields: { name: null, type: null, + description: null, }, rules: { name: ['required'], @@ -19,6 +20,7 @@ fields: { name: {valid: null}, type: {valid: null}, + description: {valid: null}, } }, isFormValid: true, @@ -66,12 +68,37 @@ {{end}} +
+ +
+ +
+
+
+
+
+

Paramètres

+

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

+
+
+ + {{ $fieldName := "address" }} + {{ template "address_autocomplete" dict "FieldName" $fieldName }} + + + +
+
+
+
+
Adresse
+
+ {{.ViewState.group.Data.address.properties.label}}
+
+
+
Description
+
+ {{.ViewState.group.Data.description}}
+
+