Changes for page Books

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

From version 3.1
edited by Jip-jan Alunkel
on March 24, 17:36
Change comment: There is no comment for this version
To version 3.14
edited by Jip-jan Alunkel
on March 28, 16:14
Change comment: There is no comment for this version

Summary

Details

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