Modifiche per il documento Books

Ultima modifica di Jip-jan Alunkel il novembre 23, 10:59

Dalla versione 3.9
modificato da Jip-jan Alunkel
il marzo 28, 15:01
Cambia il commento: Nessun commento per questa versione
Alla versione 2.2
modificato da Jip-jan Alunkel
il marzo 24, 17:35
Cambia il commento: Nessun commento per questa versione

Summary

Details

Page properties
Content
... ... @@ -1,9 +1,11 @@
1 1  All about books
2 2  
3 -{{include reference="assets.macros.form-elements" /}}
4 4  
5 5  {{velocity}}
6 -#set($locality = {
5 +#* Your velocity code here *#
6 +#include("/assets/macros/form-elements")
7 +
8 +#set($localitySelectElement = {
7 7   "id" : "locality",
8 8   "type" : "select",
9 9   "required" : true,
... ... @@ -15,24 +15,8 @@
15 15   "space-reference" : "cases",
16 16   "help-block" : "In which physiological or psychological epicenter can the main complaint be placed? Select the best fitting option from this list."
17 17  })
18 -#createFormElement($locality)
19 19  
20 -#set($main_complaint = {
21 - "id" : "main_complaint",
22 - "type" : "text",
23 - "required" : true,
24 - "label" : "Main complaint",
25 - "aria-label" : "Enter the main complaint",
26 - "placeholder" : "cases.word.locality_select.placeholder",
27 - "data-error-response-type" : "use_label_defined_1",
28 - "data-query-type" : "XWQL.matchTitle",
29 - "data-query-scope" : "cases",
30 - "data-query-list-type" : "suggest-negate",
31 - "data-query-list-contents" : "value",
32 - "data-create-page" : "true",
33 - "help-block" : "In which physiological or psychological epicenter can the main complaint be placed? Select the best fitting option from this list."
34 -})
35 -#createFormElement($main_complaint)
21 +#createFormElement($localitySelectElement)
36 36  
37 37  {{/velocity}}
38 38