Изменения документа Homeopaths
Редактировал(а) Jip-jan Alunkel марта 14, 20:13
От версии 8.11
отредактировано Jip-jan Alunkel
на декабря 08, 00:05
на декабря 08, 00:05
Изменить комментарий:
Renamed from xwiki:practices.WebHome
К версии 8.3
отредактировано Jip-jan Alunkel
на декабря 06, 00:29
на декабря 06, 00:29
Изменить комментарий:
Renamed from xwiki:practices.WebHome
Сводка
-
Свойства страницы (1 изменено, 0 добавлено, 0 удалено)
Подробности
- Свойства страницы
-
- Содержимое
-
... ... @@ -7,9 +7,6 @@ 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 - 13 13 #set($form_start = { 14 14 "id": "homeoworld_form", 15 15 "product": "practice", ... ... @@ -18,27 +18,6 @@ 18 18 "use_captcha": "false" 19 19 }) 20 20 #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) 41 - 42 42 #set($country = { 43 43 "id" : "country", 44 44 "type" : "text", ... ... @@ -47,7 +47,6 @@ 47 47 "aria-label" : "Choose the country", 48 48 "placeholder" : "$services.localization.render('homeopaths.word.country.placeholder')", 49 49 "data-set-space": "true", 50 - "data-parent-space": "homeopaths", 51 51 "data-error-response-type" : "use_label_definite_1", 52 52 "data-auto-first-capital" : "true", 53 53 "data-query-type" : "JSON", ... ... @@ -54,18 +54,15 @@ 54 54 "data-query-reference" : "assets.pagemaker.JSON.countries", 55 55 "data-query-list-type" : "suggest-select", 56 56 "data-query-list-header" : "$services.localization.render('pagemaker.line.suggest_select_list')", 57 - "data-query-list-contents" : " key",32 + "data-query-list-contents" : "value", 58 58 "data-query-list-editable" : "false", 34 + "data-create-xobj" : "true", 35 + "data-xobj-classname" : "cases.Code.casesClass", 36 + "data-xobj-fieldname" : "country", 59 59 "help-block" : 'Type and select the country where your practice resides.' 60 60 }) 61 61 #createFormElement($country) 62 62 63 -#* 64 - "data-create-xobj" : "true", 65 - "data-xobj-classname" : "homeopaths.Code.homeopathsClass", 66 - "data-xobj-fieldname" : "country", 67 -*# 68 - 69 69 #set($address = { 70 70 "id" : "address", 71 71 "type" : "address", ... ... @@ -88,8 +88,8 @@ 88 88 }) 89 89 #createFormElement($address) 90 90 #set($submit = { 91 - "id" : "create_ practice",92 - "button-text" : " Add practice",63 + "id" : "create_case", 64 + "button-text" : "Submit", 93 93 "help-block" : "Please remind yourself to always anonymize the case." 94 94 }) 95 95 #createSubmit($submit)