Changes for page Books

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

From version 3.35
edited by Jip-jan Alunkel
on March 31, 15:02
Change comment: There is no comment for this version
To version 3.15
edited by Jip-jan Alunkel
on March 28, 16:17
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,3 +1,4 @@
1 +
1 1  {{velocity}}
2 2  #set ($discard = $services.localization.use('document', 'cases.Code.translations'))
3 3  #set( $discard = $xwiki.ssx.use('cases.WebHome') )
... ... @@ -9,7 +9,6 @@
9 9  {{include reference="assets.macros.form-elements" /}}
10 10  
11 11  {{velocity}}
12 -{{html}}
13 13  
14 14  #createFormStart("homeoworld_form" "case")
15 15  
... ... @@ -16,7 +16,7 @@
16 16  #set($locality = {
17 17   "id" : "locality",
18 18   "type" : "select",
19 - "required" : "yes",
19 + "required" : true,
20 20   "label" : "Locality of the main complaint",
21 21   "aria-label" : "Select the locality",
22 22   "data-error-response-type" : "use_label_defined_1",
... ... @@ -31,7 +31,7 @@
31 31  #set($main_complaint = {
32 32   "id" : "main_complaint",
33 33   "type" : "text",
34 - "required" : "yes",
34 + "required" : true,
35 35   "label" : "Main complaint",
36 36   "aria-label" : "Enter the main complaint",
37 37   "placeholder" : "cases.wordgroup.main_complaint.placeholder",
... ... @@ -39,70 +39,15 @@
39 39   "data-query-type" : "XWQL.matchTitle",
40 40   "data-query-scope" : "cases",
41 41   "data-query-list-type" : "suggest-negate",
42 - "data-suggest-list-header" : "formMaker.line.suggest_negate_list",
43 43   "data-query-list-contents" : "value",
44 44   "data-create-page" : "true",
45 - "help-block" : 'Please be as concise as possible when you describe the main complaint. For example:<br />"chronic headache with bowel complaints,"<br />"intermittend fever" or<br />"diarrhea."'
44 + "help-block" : "In which physiological or psychological epicenter can the main complaint be placed? Select the best fitting option from this list."
46 46  })
47 47  
48 48  #createFormElement($main_complaint)
49 49  
50 -#set($remedy = {
51 - "id" : "remedy",
52 - "type" : "text",
53 - "required" : "yes",
54 - "label" : "Remedy",
55 - "aria-label" : "Choose the remedy",
56 - "placeholder" : "cases.word.remedy.placeholder",
57 - "data-error-response-type" : "use_label_undefined",
58 - "data-query-type" : "JSON.remedies",
59 - "data-query-list-type" : "suggest-select",
60 - "data-suggest-list-header" : "formMaker.line.suggest_select_list",
61 - "data-query-list-contents" : "value/key",
62 - "data-create-xobj" : "true",
63 - "data-xobj-classname" : "cases.Code.casesClass",
64 - "data-xobj-fieldname" : "remedy",
65 - "help-block" : 'Select the remedy that is central in this case.'
66 -})
67 -
68 -#createFormElement($remedy)
69 -
70 -#set($extra_info = {
71 - "id" : "extra_info",
72 - "type" : "checkbox",
73 - "required" : "no",
74 - "label" : "Extra information (optional)",
75 - "value" : "yes"
76 -})
77 -
78 -#createFormElement($extra_info)
79 -
80 -#createExpandStart("extra_info" "yes")
81 -
82 -#set($author = {
83 - "id" : "author",
84 - "type" : "text",
85 - "required" : "no",
86 - "label" : "Author",
87 - "aria-label" : "Enter the author name",
88 - "placeholder" : "cases.word.author.placeholder",
89 - "data-query-type" : "XWQL.matchObject",
90 - "data-query-scope" : "cases",
91 - "data-query-list-type" : "suggest-select",
92 - "data-suggest-list-header" : "formMaker.line.suggest_select_list",
93 - "data-query-list-contents" : "value",
94 - "data-create-xobj" : "true",
95 - "data-xobj-classname" : "cases.Code.casesClass",
96 - "data-xobj-fieldname" : "author",
97 - "help-block" : 'Select the author of this case.'
98 -})
99 -
100 -#createFormElement($author)
101 -
102 -#createExpandEnd()
103 -
104 104  #createFormEnd()
105 105  
106 -{{/html}}
51 +
107 107  {{/velocity}}
108 108