Changes for page Homeopaths
Modificado por Jip-jan Alunkel em março 14, 20:13
From version 7.1
edited by Jip-jan Alunkel
on novembro 28, 15:32
on novembro 28, 15:32
Change comment:
Renamed from xwiki:practices.WebHome
To version 8.11
edited by Jip-jan Alunkel
on dezembro 08, 00:05
on dezembro 08, 00:05
Change comment:
Renamed from xwiki:practices.WebHome
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -7,21 +7,68 @@ 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 + 10 10 #set($form_start = { 11 11 "id": "homeoworld_form", 12 - "product": " case",15 + "product": "practice", 13 13 "method": "post", 14 14 "url": "", 15 15 "use_captcha": "false" 16 16 }) 17 17 #createFormStart($form_start) 21 +#set($practice_name = { 22 + "id" : "practice_name", 23 + "type" : "text", 24 + "required" : "true", 25 + "label" : "Name of your practice", 26 + "aria-label" : "Enter the name of your practice", 27 + "placeholder" : "$services.localization.render('homeopaths.wordgroup.practice_name.placeholder')", 28 + "data-pattern" : "^[a-zA-ZÀ-ÖÙ-öù-ÿĀ-žḀ-ỿ]+[a-zA-ZÀ-ÖÙ-öù-ÿĀ-žḀ-ỿ0-9- ]*$", 29 + "data-error-response-type" : "use_label_definite_1", 30 + "data-auto-first-capital" : "true", 31 + "data-query-type" : "XWQL", 32 + "data-query-reference" : "assets.pagemaker.XWQL.matchTitle", 33 + "data-query-scope" : "homeopaths", 34 + "data-query-list-type" : "suggest-negate", 35 + "data-query-list-header" : "$services.localization.render('pagemaker.line.suggest_negate_list')", 36 + "data-query-list-contents" : "value", 37 + "data-create-page" : "true", 38 + "help-block" : 'This will be used as the title of your practice page. The first character must be a letter.' 39 +}) 40 +#createFormElement($practice_name) 18 18 19 -<div class="autocomplete-container" id="autocomplete-container"></div> 42 +#set($country = { 43 + "id" : "country", 44 + "type" : "text", 45 + "required" : "true", 46 + "label" : "Country of practice residence", 47 + "aria-label" : "Choose the country", 48 + "placeholder" : "$services.localization.render('homeopaths.word.country.placeholder')", 49 + "data-set-space": "true", 50 + "data-parent-space": "homeopaths", 51 + "data-error-response-type" : "use_label_definite_1", 52 + "data-auto-first-capital" : "true", 53 + "data-query-type" : "JSON", 54 + "data-query-reference" : "assets.pagemaker.JSON.countries", 55 + "data-query-list-type" : "suggest-select", 56 + "data-query-list-header" : "$services.localization.render('pagemaker.line.suggest_select_list')", 57 + "data-query-list-contents" : "key", 58 + "data-query-list-editable" : "false", 59 + "help-block" : 'Type and select the country where your practice resides.' 60 +}) 61 +#createFormElement($country) 20 20 63 +#* 64 + "data-create-xobj" : "true", 65 + "data-xobj-classname" : "homeopaths.Code.homeopathsClass", 66 + "data-xobj-fieldname" : "country", 67 +*# 21 21 22 22 #set($address = { 23 23 "id" : "address", 24 - "type" : " text",71 + "type" : "address", 25 25 "required" : "true", 26 26 "label" : "Address of your practice", 27 27 "aria-label" : "Input and select the address of your practice", ... ... @@ -41,8 +41,8 @@ 41 41 }) 42 42 #createFormElement($address) 43 43 #set($submit = { 44 - "id" : "create_ case",45 - "button-text" : " Submit",91 + "id" : "create_practice", 92 + "button-text" : "Add practice", 46 46 "help-block" : "Please remind yourself to always anonymize the case." 47 47 }) 48 48 #createSubmit($submit)