Modifications pour le document Homeopaths
Modifié par Jip-jan Alunkel le mars 14, 20:13
Depuis la version 8.1
modifié par Jip-jan Alunkel
sur novembre 28, 20:05
sur novembre 28, 20:05
Commentaire de modification :
Renamed from xwiki:practices.WebHome
À la version 8.7
modifié par Jip-jan Alunkel
sur décembre 06, 02:18
sur décembre 06, 02:18
Commentaire de modification :
Renamed from xwiki:practices.WebHome
Résumé
-
Propriétés de la Page (1 modifications, 0 ajouts, 0 suppressions)
Détails
- Propriétés de la Page
-
- Contenu
-
... ... @@ -9,16 +9,59 @@ 9 9 {{html wiki="true" clean="false"}} 10 10 #set($form_start = { 11 11 "id": "homeoworld_form", 12 - "product": " case",12 + "product": "practice", 13 13 "method": "post", 14 14 "url": "", 15 15 "use_captcha": "false" 16 16 }) 17 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) 18 18 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 + "data-create-xobj" : "true", 56 + "data-xobj-classname" : "cases.Code.casesClass", 57 + "data-xobj-fieldname" : "country", 58 + "help-block" : 'Type and select the country where your practice resides.' 59 +}) 60 +#createFormElement($country) 61 + 19 19 #set($address = { 20 20 "id" : "address", 21 - "type" : " text",64 + "type" : "address", 22 22 "required" : "true", 23 23 "label" : "Address of your practice", 24 24 "aria-label" : "Input and select the address of your practice", ... ... @@ -38,8 +38,8 @@ 38 38 }) 39 39 #createFormElement($address) 40 40 #set($submit = { 41 - "id" : "create_ case",42 - "button-text" : " Submit",84 + "id" : "create_practice", 85 + "button-text" : "Add practice", 43 43 "help-block" : "Please remind yourself to always anonymize the case." 44 44 }) 45 45 #createSubmit($submit)