Исходный код вики Homeopaths

Версия 8.8 от Jip-jan Alunkel на декабря 06, 02:41

Последние авторы
1 {{include reference="assets.pagemaker.macros"/}}
2
3 {{velocity}}
4 #set($discard = $services.localization.use('document', 'cases.Code.translations'))
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
9 {{html wiki="true" clean="false"}}
10 #set($form_start = {
11 "id": "homeoworld_form",
12 "product": "practice",
13 "method": "post",
14 "url": "",
15 "use_captcha": "false"
16 })
17 #createFormStart($form_start)
18 #set($practice_name = {
19 "id" : "practice_name",
20 "type" : "text",
21 "required" : "true",
22 "label" : "Name of your practice",
23 "aria-label" : "Enter the name of your practice",
24 "placeholder" : "$services.localization.render('homeopaths.wordgroup.practice_name.placeholder')",
25 "data-pattern" : "^[a-zA-ZÀ-ÖÙ-öù-ÿĀ-žḀ-ỿ]+[a-zA-ZÀ-ÖÙ-öù-ÿĀ-žḀ-ỿ0-9- ]*$",
26 "data-error-response-type" : "use_label_definite_1",
27 "data-auto-first-capital" : "true",
28 "data-query-type" : "XWQL",
29 "data-query-reference" : "assets.pagemaker.XWQL.matchTitle",
30 "data-query-scope" : "homeopaths",
31 "data-query-list-type" : "suggest-negate",
32 "data-query-list-header" : "$services.localization.render('pagemaker.line.suggest_negate_list')",
33 "data-query-list-contents" : "value",
34 "data-create-page" : "true",
35 "help-block" : 'This will be used as the title of your practice page. The first character must be a letter.'
36 })
37 #createFormElement($practice_name)
38
39 #set($country = {
40 "id" : "country",
41 "type" : "text",
42 "required" : "true",
43 "label" : "Country of practice residence",
44 "aria-label" : "Choose the country",
45 "placeholder" : "$services.localization.render('homeopaths.word.country.placeholder')",
46 "data-set-space": "true",
47 "data-error-response-type" : "use_label_definite_1",
48 "data-auto-first-capital" : "true",
49 "data-query-type" : "JSON",
50 "data-query-reference" : "assets.pagemaker.JSON.countries",
51 "data-query-list-type" : "suggest-select",
52 "data-query-list-header" : "$services.localization.render('pagemaker.line.suggest_select_list')",
53 "data-query-list-contents" : "key",
54 "data-query-list-editable" : "false",
55 "help-block" : 'Type and select the country where your practice resides.'
56 })
57 #createFormElement($country)
58
59 #*
60 "data-create-xobj" : "true",
61 "data-xobj-classname" : "homeopaths.Code.homeopathsClass",
62 "data-xobj-fieldname" : "country",
63 *#
64
65 #set($address = {
66 "id" : "address",
67 "type" : "address",
68 "required" : "true",
69 "label" : "Address of your practice",
70 "aria-label" : "Input and select the address of your practice",
71 "placeholder" : "$services.localization.render('homeopaths.multiword.address.placeholder')",
72 "data-error-response-type" : "use_label_definite_1",
73 "data-auto-first-capital" : "true",
74 "data-query-type" : "address",
75 "data-query-reference" : "",
76 "data-query-list-type" : "suggest-select",
77 "data-query-list-header" : "$services.localization.render('pagemaker.line.suggest_select_list')",
78 "data-query-list-contents" : "value/key",
79 "data-query-list-editable" : "false",
80 "data-create-xobj" : "true",
81 "data-xobj-classname" : "homeopaths.Code.homeopathsClass",
82 "data-xobj-fieldname" : "address",
83 "help-block" : 'Input and select the address of your practice.'
84 })
85 #createFormElement($address)
86 #set($submit = {
87 "id" : "create_practice",
88 "button-text" : "Add practice",
89 "help-block" : "Please remind yourself to always anonymize the case."
90 })
91 #createSubmit($submit)
92 #set($form_end = {
93 "use_captcha": "false"
94 })
95 #createFormEnd($form_end)