Changes for page Homeopaths

Last modified by Jip-jan Alunkel on March 14, 20:13

From version 8.17
edited by Jip-jan Alunkel
on December 08, 00:30
Change comment: Renamed from xwiki:practices.WebHome
To version 8.5
edited by Jip-jan Alunkel
on December 06, 02:10
Change comment: Renamed from xwiki:practices.WebHome

Summary

Details

Page properties
Content
... ... @@ -6,18 +6,7 @@
6 6  #set($discard = $xwiki.ssx.use('assets.pagemaker.WebHome', {'minify': false}))
7 7  #set($discard = $xwiki.jsx.use('assets.pagemaker.WebHome', {'minify': false}))
8 8  
9 -{{html wiki="false" clean="false"}}
10 -<div id="homeopaths_map"></div>
11 -
12 -<script>
13 -var map = L.map('homeopaths_map').setView([0, 0], 1);
14 -L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
15 - maxZoom: 19,
16 - attribution: ''
17 -}).addTo(map);
18 -map.attributionControl.setPrefix('');
19 -</script>
20 -
9 +{{html wiki="true" clean="false"}}
21 21  #set($form_start = {
22 22   "id": "homeoworld_form",
23 23   "product": "practice",
... ... @@ -55,7 +55,6 @@
55 55   "aria-label" : "Choose the country",
56 56   "placeholder" : "$services.localization.render('homeopaths.word.country.placeholder')",
57 57   "data-set-space": "true",
58 - "data-parent-space": "homeopaths",
59 59   "data-error-response-type" : "use_label_definite_1",
60 60   "data-auto-first-capital" : "true",
61 61   "data-query-type" : "JSON",
... ... @@ -64,16 +64,13 @@
64 64   "data-query-list-header" : "$services.localization.render('pagemaker.line.suggest_select_list')",
65 65   "data-query-list-contents" : "key",
66 66   "data-query-list-editable" : "false",
55 + "data-create-xobj" : "true",
56 + "data-xobj-classname" : "cases.Code.casesClass",
57 + "data-xobj-fieldname" : "country",
67 67   "help-block" : 'Type and select the country where your practice resides.'
68 68  })
69 69  #createFormElement($country)
70 70  
71 -#*
72 - "data-create-xobj" : "true",
73 - "data-xobj-classname" : "homeopaths.Code.homeopathsClass",
74 - "data-xobj-fieldname" : "country",
75 -*#
76 -
77 77  #set($address = {
78 78   "id" : "address",
79 79   "type" : "address",
... ... @@ -96,8 +96,8 @@
96 96  })
97 97  #createFormElement($address)
98 98  #set($submit = {
99 - "id" : "create_practice",
100 - "button-text" : "Add practice",
84 + "id" : "create_case",
85 + "button-text" : "Submit",
101 101   "help-block" : "Please remind yourself to always anonymize the case."
102 102  })
103 103  #createSubmit($submit)