Modifiche per il documento Homeopaths

Ultima modifica di Jip-jan Alunkel il marzo 14, 20:13

Dalla versione 10.1
modificato da Jip-jan Alunkel
il febbraio 19, 18:36
Cambia il commento: Renamed from xwiki:practices.WebHome
Alla versione 10.5
modificato da Jip-jan Alunkel
il marzo 07, 14:18
Cambia il commento: Renamed from xwiki:practices.WebHome

Summary

Details

Page properties
Content
... ... @@ -86,10 +86,21 @@
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",
90 90   "help-block" : 'Input street and number, then select the address of your practice.'
91 91  })
91 +#*
92 + "data-xobj-fieldname" : "address",
93 +*#
92 92  #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)
93 93  #set($submit = {
94 94   "id" : "create_practice",
95 95   "button-text" : "Add practice",