Modifications pour le document Homeopaths

Modifié par Jip-jan Alunkel le mars 14, 20:13

Depuis la version 8.3
modifié par Jip-jan Alunkel
sur décembre 06, 00:29
Commentaire de modification : Renamed from xwiki:practices.WebHome
À la version 8.9
modifié par Jip-jan Alunkel
sur décembre 06, 03:29
Commentaire de modification : Renamed from xwiki:practices.WebHome

Résumé

Détails

Propriétés de la Page
Contenu
... ... @@ -15,6 +15,27 @@
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)
38 +
18 18  #set($country = {
19 19   "id" : "country",
20 20   "type" : "text",
... ... @@ -23,6 +23,7 @@
23 23   "aria-label" : "Choose the country",
24 24   "placeholder" : "$services.localization.render('homeopaths.word.country.placeholder')",
25 25   "data-set-space": "true",
47 + "data-parent-space": "homeopaths",
26 26   "data-error-response-type" : "use_label_definite_1",
27 27   "data-auto-first-capital" : "true",
28 28   "data-query-type" : "JSON",
... ... @@ -29,15 +29,18 @@
29 29   "data-query-reference" : "assets.pagemaker.JSON.countries",
30 30   "data-query-list-type" : "suggest-select",
31 31   "data-query-list-header" : "$services.localization.render('pagemaker.line.suggest_select_list')",
32 - "data-query-list-contents" : "value",
54 + "data-query-list-contents" : "key",
33 33   "data-query-list-editable" : "false",
34 - "data-create-xobj" : "true",
35 - "data-xobj-classname" : "cases.Code.casesClass",
36 - "data-xobj-fieldname" : "country",
37 37   "help-block" : 'Type and select the country where your practice resides.'
38 38  })
39 39  #createFormElement($country)
40 40  
60 +#*
61 + "data-create-xobj" : "true",
62 + "data-xobj-classname" : "homeopaths.Code.homeopathsClass",
63 + "data-xobj-fieldname" : "country",
64 +*#
65 +
41 41  #set($address = {
42 42   "id" : "address",
43 43   "type" : "address",
... ... @@ -60,8 +60,8 @@
60 60  })
61 61  #createFormElement($address)
62 62  #set($submit = {
63 - "id" : "create_case",
64 - "button-text" : "Submit",
88 + "id" : "create_practice",
89 + "button-text" : "Add practice",
65 65   "help-block" : "Please remind yourself to always anonymize the case."
66 66  })
67 67  #createSubmit($submit)