Modifiche per il documento Books

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

Dalla versione 3.5
modificato da Jip-jan Alunkel
il marzo 24, 18:04
Cambia il commento: Nessun commento per questa versione
Alla versione 3.12
modificato da Jip-jan Alunkel
il marzo 28, 16:09
Cambia il commento: Nessun commento per questa versione

Summary

Details

Page properties
Content
... ... @@ -1,9 +1,17 @@
1 +
2 +{{velocity}}
3 +#set ($discard = $services.localization.use('document', 'cases.Code.translations'))
4 +#set( $discard = $xwiki.ssx.use('cases.WebHome') )
5 +#set( $discard = $xwiki.jsx.use('cases.WebHome', {'minify' : false}) )
6 +{{/velocity}}
1 1  All about books
2 2  
3 -{{include reference="/assets/macros/form-elements/WebHome" /}}
9 +{{include reference="assets.macros.form-elements" /}}
4 4  
5 5  {{velocity}}
6 -#set($localitySelectElement = {
12 +#createFormStart("homeoworld_form" "case")
13 +
14 +#set($locality = {
7 7   "id" : "locality",
8 8   "type" : "select",
9 9   "required" : true,
... ... @@ -15,6 +15,24 @@
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($localitySelectElement)
26 +#createFormElement($locality)
27 +#set($main_complaint = {
28 + "id" : "main_complaint",
29 + "type" : "text",
30 + "required" : true,
31 + "label" : "Main complaint",
32 + "aria-label" : "Enter the main complaint",
33 + "placeholder" : "cases.wordgroup.main_complaint.placeholder",
34 + "data-error-response-type" : "use_label_defined_1",
35 + "data-query-type" : "XWQL.matchTitle",
36 + "data-query-scope" : "cases",
37 + "data-query-list-type" : "suggest-negate",
38 + "data-query-list-contents" : "value",
39 + "data-create-page" : "true",
40 + "help-block" : "In which physiological or psychological epicenter can the main complaint be placed? Select the best fitting option from this list."
41 +})
42 +#createFormElement($main_complaint)
43 +#createFormEnd
44 +
19 19  {{/velocity}}
20 20