Changes for page Homeopaths

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

From version 10.2
edited by Jip-jan Alunkel
on March 06, 22:44
Change comment: Renamed from xwiki:practices.WebHome
To version 10.8
edited by Jip-jan Alunkel
on March 07, 17:16
Change comment: Renamed from xwiki:practices.WebHome

Summary

Details

Page properties
Content
... ... @@ -45,6 +45,9 @@
45 45   "data-query-list-header" : "$services.localization.render('pagemaker.line.suggest_negate_list')",
46 46   "data-query-list-contents" : "value",
47 47   "data-create-page" : "true",
48 + "data-create-xobj" : "true",
49 + "data-xobj-classname" : "homeopaths.Code.homeopathsClass",
50 + "data-xobj-fieldname" : "pmPractice",
48 48   "help-block" : 'This will be used as the title of your practice page. The first character must be a letter.'
49 49  })
50 50  #createFormElement($practice_name)
... ... @@ -86,9 +86,11 @@
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  })
94 +#*
95 + "data-xobj-fieldname" : "address",
96 +*#
92 92  #createFormElement($address)
93 93  #set($friend = {
94 94   "id" : "friend",
... ... @@ -98,6 +98,7 @@
98 98   "data-xobj-classname" : "homeopaths.Code.homeopathsClass",
99 99   "data-xobj-fieldname" : "doc_owner"
100 100  })
106 +#createFormElement($friend)
101 101  #set($submit = {
102 102   "id" : "create_practice",
103 103   "button-text" : "Add practice",