Changes for page Homeopaths

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

From version 10.5
edited by Jip-jan Alunkel
on March 07, 14:18
Change comment: Renamed from xwiki:practices.WebHome
To version 8.160
edited by Jip-jan Alunkel
on January 31, 17:02
Change comment: Renamed from xwiki:practices.WebHome

Summary

Details

Page properties
Content
... ... @@ -18,7 +18,7 @@
18 18   #set($r = $q.bindValue('usr', $xcontext.getUserReference().getName()).execute())
19 19   #set($practiceExists = $r.size() > 0)
20 20   #if(!$practiceExists)
21 -<h2 id="add_practice">Add your practice to the map</h2>
21 +<h2>Add your practice to the map</h2>
22 22  #set($form_start = {
23 23   "id": "homeoworld_form",
24 24   "product": "practice",
... ... @@ -86,21 +86,10 @@
86 86   "data-query-list-editable" : "false",
87 87   "data-create-xobj" : "true",
88 88   "data-xobj-classname" : "homeopaths.Code.homeopathsClass",
89 + "data-xobj-fieldname" : "address",
89 89   "help-block" : 'Input street and number, then select the address of your practice.'
90 90  })
91 -#*
92 - "data-xobj-fieldname" : "address",
93 -*#
94 94  #createFormElement($address)
95 -#set($friend = {
96 - "id" : "friend",
97 - "type" : "hidden",
98 - "value": "$context.getUser()",
99 - "data-create-xobj" : "true",
100 - "data-xobj-classname" : "homeopaths.Code.homeopathsClass",
101 - "data-xobj-fieldname" : "doc_owner"
102 -})
103 -#createFormElement($friend)
104 104  #set($submit = {
105 105   "id" : "create_practice",
106 106   "button-text" : "Add practice",