Modifications pour le document Homeopaths

Modifié par Jip-jan Alunkel le mars 14, 20:13

Depuis la version 8.158
modifié par Jip-jan Alunkel
sur janvier 25, 18:16
Commentaire de modification : Renamed from xwiki:practices.WebHome
À la version 10.2
modifié par Jip-jan Alunkel
sur mars 06, 22:44
Commentaire de modification : Renamed from xwiki:practices.WebHome

Résumé

Détails

Propriétés de la Page
Contenu
... ... @@ -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>Add your practice to the map</h2>
21 +<h2 id="add_practice">Add your practice to the map</h2>
22 22  #set($form_start = {
23 23   "id": "homeoworld_form",
24 24   "product": "practice",
... ... @@ -56,7 +56,7 @@
56 56   "aria-label" : "Choose the country",
57 57   "placeholder" : "$services.localization.render('homeopaths.word.country.placeholder')",
58 58   "data-set-space": "true",
59 - "data-space-xobj-classname": "",
59 + "data-space-xobj-classname": "homeopaths.Code.homeopathsCountryClass",
60 60   "data-parent-space": "homeopaths",
61 61   "data-error-response-type" : "use_label_definite_1",
62 62   "data-auto-first-capital" : "true",
... ... @@ -90,6 +90,14 @@
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 +})
93 93  #set($submit = {
94 94   "id" : "create_practice",
95 95   "button-text" : "Add practice",