Modifications pour le document Homeopaths

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

Depuis la version 8.2
modifié par Jip-jan Alunkel
sur décembre 03, 13:04
Commentaire de modification : Renamed from xwiki:practices.WebHome
À la version 8.8
modifié par Jip-jan Alunkel
sur décembre 06, 02:41
Commentaire de modification : Renamed from xwiki:practices.WebHome

Résumé

Détails

Propriétés de la Page
Contenu
... ... @@ -9,13 +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 + "help-block" : 'Type and select the country where your practice resides.'
56 +})
57 +#createFormElement($country)
58 +
59 +#*
60 + "data-create-xobj" : "true",
61 + "data-xobj-classname" : "homeopaths.Code.homeopathsClass",
62 + "data-xobj-fieldname" : "country",
63 +*#
64 +
19 19  #set($address = {
20 20   "id" : "address",
21 21   "type" : "address",
... ... @@ -38,8 +38,8 @@
38 38  })
39 39  #createFormElement($address)
40 40  #set($submit = {
41 - "id" : "create_case",
42 - "button-text" : "Submit",
87 + "id" : "create_practice",
88 + "button-text" : "Add practice",
43 43   "help-block" : "Please remind yourself to always anonymize the case."
44 44  })
45 45  #createSubmit($submit)