Modifications pour le document Homeopaths

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

Depuis la version 7.1
modifié par Jip-jan Alunkel
sur novembre 28, 15:32
Commentaire de modification : Renamed from xwiki:practices.WebHome
À la version 8.6
modifié par Jip-jan Alunkel
sur décembre 06, 02:10
Commentaire de modification : Renamed from xwiki:practices.WebHome

Résumé

Détails

Propriétés de la Page
Contenu
... ... @@ -9,19 +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  
19 -<div class="autocomplete-container" id="autocomplete-container"></div>
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)
20 20  
21 -
22 22  #set($address = {
23 23   "id" : "address",
24 - "type" : "text",
64 + "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",