Changes for page Books

Last modified by Jip-jan Alunkel on November 23, 10:59

From version 3.3
edited by Jip-jan Alunkel
on March 24, 18:01
Change comment: There is no comment for this version
To version 3.13
edited by Jip-jan Alunkel
on March 28, 16:12
Change comment: There is no comment for this version

Summary

Details

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