Changes for page Homeopaths

Modificado por Jip-jan Alunkel em março 14, 20:13

From version 10.3
edited by Jip-jan Alunkel
on março 06, 22:49
Change comment: Renamed from xwiki:practices.WebHome
To version 9.1
edited by Jip-jan Alunkel
on fevereiro 10, 17:51
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",
... ... @@ -90,15 +90,6 @@
90 90   "help-block" : 'Input street and number, then select the address of your practice.'
91 91  })
92 92  #createFormElement($address)
93 -#set($friend = {
94 - "id" : "friend",
95 - "type" : "hidden",
96 - "value": "$context.getUser()",
97 - "data-create-xobj" : "true",
98 - "data-xobj-classname" : "homeopaths.Code.homeopathsClass",
99 - "data-xobj-fieldname" : "doc_owner"
100 -})
101 -#createFormElement($friend)
102 102  #set($submit = {
103 103   "id" : "create_practice",
104 104   "button-text" : "Add practice",