Changes for page Homeopaths
Modificado por Jip-jan Alunkel em março 14, 20:13
From version 8.15
edited by Jip-jan Alunkel
on dezembro 08, 00:12
on dezembro 08, 00:12
Change comment:
Renamed from xwiki:practices.WebHome
To version 8.6
edited by Jip-jan Alunkel
on dezembro 06, 02:10
on dezembro 06, 02:10
Change comment:
Renamed from xwiki:practices.WebHome
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -6,17 +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([51.505, -0.09], 13); 14 -L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', { 15 - maxZoom: 19, 16 - attribution: '' 17 -}).addTo(map); 18 -</script> 19 - 9 +{{html wiki="true" clean="false"}} 20 20 #set($form_start = { 21 21 "id": "homeoworld_form", 22 22 "product": "practice", ... ... @@ -54,7 +54,6 @@ 54 54 "aria-label" : "Choose the country", 55 55 "placeholder" : "$services.localization.render('homeopaths.word.country.placeholder')", 56 56 "data-set-space": "true", 57 - "data-parent-space": "homeopaths", 58 58 "data-error-response-type" : "use_label_definite_1", 59 59 "data-auto-first-capital" : "true", 60 60 "data-query-type" : "JSON", ... ... @@ -63,16 +63,13 @@ 63 63 "data-query-list-header" : "$services.localization.render('pagemaker.line.suggest_select_list')", 64 64 "data-query-list-contents" : "key", 65 65 "data-query-list-editable" : "false", 55 + "data-create-xobj" : "true", 56 + "data-xobj-classname" : "cases.Code.casesClass", 57 + "data-xobj-fieldname" : "country", 66 66 "help-block" : 'Type and select the country where your practice resides.' 67 67 }) 68 68 #createFormElement($country) 69 69 70 -#* 71 - "data-create-xobj" : "true", 72 - "data-xobj-classname" : "homeopaths.Code.homeopathsClass", 73 - "data-xobj-fieldname" : "country", 74 -*# 75 - 76 76 #set($address = { 77 77 "id" : "address", 78 78 "type" : "address", ... ... @@ -95,8 +95,8 @@ 95 95 }) 96 96 #createFormElement($address) 97 97 #set($submit = { 98 - "id" : "create_ practice",99 - "button-text" : " Add practice",84 + "id" : "create_case", 85 + "button-text" : "Submit", 100 100 "help-block" : "Please remind yourself to always anonymize the case." 101 101 }) 102 102 #createSubmit($submit)