Changes for page Homeopaths

Modificado por Jip-jan Alunkel em março 14, 20:13

From version 8.12
edited by Jip-jan Alunkel
on dezembro 08, 00:08
Change comment: Renamed from xwiki:practices.WebHome
To version 7.1
edited by Jip-jan Alunkel
on novembro 28, 15:32
Change comment: Renamed from xwiki:practices.WebHome

Summary

Details

Page properties
Content
... ... @@ -7,71 +7,21 @@
7 7  #set($discard = $xwiki.jsx.use('assets.pagemaker.WebHome', {'minify': false}))
8 8  
9 9  {{html wiki="true" clean="false"}}
10 -<div id="homeopaths_map"></div>
11 -
12 -<script>
13 -var map = L.map('homeopaths_map').setView([51.505, -0.09], 13);
14 -</script>
15 -
16 16  #set($form_start = {
17 17   "id": "homeoworld_form",
18 - "product": "practice",
12 + "product": "case",
19 19   "method": "post",
20 20   "url": "",
21 21   "use_captcha": "false"
22 22  })
23 23  #createFormStart($form_start)
24 -#set($practice_name = {
25 - "id" : "practice_name",
26 - "type" : "text",
27 - "required" : "true",
28 - "label" : "Name of your practice",
29 - "aria-label" : "Enter the name of your practice",
30 - "placeholder" : "$services.localization.render('homeopaths.wordgroup.practice_name.placeholder')",
31 - "data-pattern" : "^[a-zA-ZÀ-ÖÙ-öù-ÿĀ-žḀ-ỿ]+[a-zA-ZÀ-ÖÙ-öù-ÿĀ-žḀ-ỿ0-9- ]*$",
32 - "data-error-response-type" : "use_label_definite_1",
33 - "data-auto-first-capital" : "true",
34 - "data-query-type" : "XWQL",
35 - "data-query-reference" : "assets.pagemaker.XWQL.matchTitle",
36 - "data-query-scope" : "homeopaths",
37 - "data-query-list-type" : "suggest-negate",
38 - "data-query-list-header" : "$services.localization.render('pagemaker.line.suggest_negate_list')",
39 - "data-query-list-contents" : "value",
40 - "data-create-page" : "true",
41 - "help-block" : 'This will be used as the title of your practice page. The first character must be a letter.'
42 -})
43 -#createFormElement($practice_name)
44 44  
45 -#set($country = {
46 - "id" : "country",
47 - "type" : "text",
48 - "required" : "true",
49 - "label" : "Country of practice residence",
50 - "aria-label" : "Choose the country",
51 - "placeholder" : "$services.localization.render('homeopaths.word.country.placeholder')",
52 - "data-set-space": "true",
53 - "data-parent-space": "homeopaths",
54 - "data-error-response-type" : "use_label_definite_1",
55 - "data-auto-first-capital" : "true",
56 - "data-query-type" : "JSON",
57 - "data-query-reference" : "assets.pagemaker.JSON.countries",
58 - "data-query-list-type" : "suggest-select",
59 - "data-query-list-header" : "$services.localization.render('pagemaker.line.suggest_select_list')",
60 - "data-query-list-contents" : "key",
61 - "data-query-list-editable" : "false",
62 - "help-block" : 'Type and select the country where your practice resides.'
63 -})
64 -#createFormElement($country)
19 +<div class="autocomplete-container" id="autocomplete-container"></div>
65 65  
66 -#*
67 - "data-create-xobj" : "true",
68 - "data-xobj-classname" : "homeopaths.Code.homeopathsClass",
69 - "data-xobj-fieldname" : "country",
70 -*#
71 71  
72 72  #set($address = {
73 73   "id" : "address",
74 - "type" : "address",
24 + "type" : "text",
75 75   "required" : "true",
76 76   "label" : "Address of your practice",
77 77   "aria-label" : "Input and select the address of your practice",
... ... @@ -91,8 +91,8 @@
91 91  })
92 92  #createFormElement($address)
93 93  #set($submit = {
94 - "id" : "create_practice",
95 - "button-text" : "Add practice",
44 + "id" : "create_case",
45 + "button-text" : "Submit",
96 96   "help-block" : "Please remind yourself to always anonymize the case."
97 97  })
98 98  #createSubmit($submit)