Wiki source code of Homeopaths

Version 8.41 by Jip-jan Alunkel on December 08, 14:43

Hide last authors
Jip-jan Alunkel 2.3 1 {{include reference="assets.pagemaker.macros"/}}
2
3 {{velocity}}
Jip-jan Alunkel 8.30 4 #set($discard = $services.localization.use('document', 'homeopaths.Code.translations'))
Jip-jan Alunkel 2.3 5 #set($discard = $services.localization.use('document', 'assets.pagemaker.translations'))
6 #set($discard = $xwiki.ssx.use('assets.pagemaker.WebHome', {'minify': false}))
7 #set($discard = $xwiki.jsx.use('assets.pagemaker.WebHome', {'minify': false}))
8
Jip-jan Alunkel 8.14 9 {{html wiki="false" clean="false"}}
Jip-jan Alunkel 8.24 10 <p>
Jip-jan Alunkel 8.23 11 All about homeopaths.
Jip-jan Alunkel 8.24 12 </p>
Jip-jan Alunkel 8.11 13 <div id="homeopaths_map"></div>
Jip-jan Alunkel 8.25 14 <h2>Add your practice to the map</h2>
Jip-jan Alunkel 2.3 15 #set($form_start = {
16 "id": "homeoworld_form",
Jip-jan Alunkel 8.3 17 "product": "practice",
Jip-jan Alunkel 2.3 18 "method": "post",
19 "url": "",
20 "use_captcha": "false"
21 })
22 #createFormStart($form_start)
Jip-jan Alunkel 8.4 23 #set($practice_name = {
24 "id" : "practice_name",
25 "type" : "text",
26 "required" : "true",
27 "label" : "Name of your practice",
28 "aria-label" : "Enter the name of your practice",
29 "placeholder" : "$services.localization.render('homeopaths.wordgroup.practice_name.placeholder')",
30 "data-pattern" : "^[a-zA-ZÀ-ÖÙ-öù-ÿĀ-žḀ-ỿ]+[a-zA-ZÀ-ÖÙ-öù-ÿĀ-žḀ-ỿ0-9- ]*$",
31 "data-error-response-type" : "use_label_definite_1",
32 "data-auto-first-capital" : "true",
33 "data-query-type" : "XWQL",
34 "data-query-reference" : "assets.pagemaker.XWQL.matchTitle",
35 "data-query-scope" : "homeopaths",
36 "data-query-list-type" : "suggest-negate",
37 "data-query-list-header" : "$services.localization.render('pagemaker.line.suggest_negate_list')",
38 "data-query-list-contents" : "value",
39 "data-create-page" : "true",
40 "help-block" : 'This will be used as the title of your practice page. The first character must be a letter.'
41 })
42 #createFormElement($practice_name)
43
Jip-jan Alunkel 8.3 44 #set($country = {
45 "id" : "country",
46 "type" : "text",
47 "required" : "true",
48 "label" : "Country of practice residence",
49 "aria-label" : "Choose the country",
50 "placeholder" : "$services.localization.render('homeopaths.word.country.placeholder')",
51 "data-set-space": "true",
Jip-jan Alunkel 8.9 52 "data-parent-space": "homeopaths",
Jip-jan Alunkel 8.3 53 "data-error-response-type" : "use_label_definite_1",
54 "data-auto-first-capital" : "true",
55 "data-query-type" : "JSON",
56 "data-query-reference" : "assets.pagemaker.JSON.countries",
57 "data-query-list-type" : "suggest-select",
58 "data-query-list-header" : "$services.localization.render('pagemaker.line.suggest_select_list')",
Jip-jan Alunkel 8.5 59 "data-query-list-contents" : "key",
Jip-jan Alunkel 8.3 60 "data-query-list-editable" : "false",
61 "help-block" : 'Type and select the country where your practice resides.'
62 })
63 #createFormElement($country)
Jip-jan Alunkel 6.2 64
Jip-jan Alunkel 8.8 65 #*
66 "data-create-xobj" : "true",
67 "data-xobj-classname" : "homeopaths.Code.homeopathsClass",
68 "data-xobj-fieldname" : "country",
69 *#
70
Jip-jan Alunkel 2.3 71 #set($address = {
72 "id" : "address",
Jip-jan Alunkel 8.2 73 "type" : "address",
Jip-jan Alunkel 2.3 74 "required" : "true",
75 "label" : "Address of your practice",
76 "aria-label" : "Input and select the address of your practice",
77 "placeholder" : "$services.localization.render('homeopaths.multiword.address.placeholder')",
78 "data-error-response-type" : "use_label_definite_1",
79 "data-auto-first-capital" : "true",
Jip-jan Alunkel 4.2 80 "data-query-type" : "address",
81 "data-query-reference" : "",
Jip-jan Alunkel 2.3 82 "data-query-list-type" : "suggest-select",
83 "data-query-list-header" : "$services.localization.render('pagemaker.line.suggest_select_list')",
84 "data-query-list-contents" : "value/key",
85 "data-query-list-editable" : "false",
86 "data-create-xobj" : "true",
87 "data-xobj-classname" : "homeopaths.Code.homeopathsClass",
88 "data-xobj-fieldname" : "address",
89 "help-block" : 'Input and select the address of your practice.'
90 })
91 #createFormElement($address)
92 #set($submit = {
Jip-jan Alunkel 8.7 93 "id" : "create_practice",
94 "button-text" : "Add practice",
Jip-jan Alunkel 2.3 95 "help-block" : "Please remind yourself to always anonymize the case."
96 })
97 #createSubmit($submit)
98 #set($form_end = {
99 "use_captcha": "false"
100 })
101 #createFormEnd($form_end)
102