Changes for page Books

Modificado por Jip-jan Alunkel em novembro 23, 10:59

From version 3.4
edited by Jip-jan Alunkel
on março 24, 18:01
Change comment: There is no comment for this version
To version 3.12
edited by Jip-jan Alunkel
on março 28, 16:09
Change comment: There is no comment for this version

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" /}}
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,7 +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)
19 -$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 +
20 20  {{/velocity}}
21 21