Modifications pour le document Homeopaths

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

Depuis la version 5.1
modifié par Jip-jan Alunkel
sur novembre 28, 15:08
Commentaire de modification : Renamed from xwiki:practices.WebHome
À la version 2.3
modifié par Jip-jan Alunkel
sur novembre 28, 14:46
Commentaire de modification : Renamed from xwiki:practices.WebHome

Résumé

Détails

Propriétés de la Page
Contenu
... ... @@ -24,8 +24,8 @@
24 24   "placeholder" : "$services.localization.render('homeopaths.multiword.address.placeholder')",
25 25   "data-error-response-type" : "use_label_definite_1",
26 26   "data-auto-first-capital" : "true",
27 - "data-query-type" : "address",
28 - "data-query-reference" : "",
27 + "data-query-type" : "JSON",
28 + "data-query-reference" : "assets.pagemaker.JSON.remedies",
29 29   "data-query-list-type" : "suggest-select",
30 30   "data-query-list-header" : "$services.localization.render('pagemaker.line.suggest_select_list')",
31 31   "data-query-list-contents" : "value/key",
... ... @@ -35,20 +35,10 @@
35 35   "data-xobj-fieldname" : "address",
36 36   "help-block" : 'Input and select the address of your practice.'
37 37  })
38 -
39 -var requestOptions = {
40 - method: 'GET',
41 -};
42 -
43 -fetch("https://api.geoapify.com/v1/geocode/autocomplete?text=Mosco&apiKey=6b74bd47f4204990b23386d8e8a0952b", requestOptions)
44 - .then(response => response.json())
45 - .then(result => console.log(result))
46 - .catch(error => console.log('error', error));
47 -
48 48  #createFormElement($address)
49 49  #set($submit = {
50 50   "id" : "create_case",
51 - "button-text" : "Submit",
41 + "button-text" : "Create new case",
52 52   "help-block" : "Please remind yourself to always anonymize the case."
53 53  })
54 54  #createSubmit($submit)