Changes for page Books
Last modified by Jip-jan Alunkel on November 23, 10:59
From version 3.8
edited by Jip-jan Alunkel
on March 24, 18:05
on March 24, 18:05
Change comment:
There is no comment for this version
To version 3.18
edited by Jip-jan Alunkel
on March 28, 18:22
on March 28, 18:22
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,12 +1,22 @@ 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}} 6 + 1 1 All about books 2 2 3 3 {{include reference="assets.macros.form-elements" /}} 4 4 5 5 {{velocity}} 6 -#set($localitySelectElement = { 12 +{{html}} 13 + 14 +#createFormStart("homeoworld_form" "case") 15 + 16 +#set($locality = { 7 7 "id" : "locality", 8 8 "type" : "select", 9 - "required" : true,19 + "required" : "yes", 10 10 "label" : "Locality of the main complaint", 11 11 "aria-label" : "Select the locality", 12 12 "data-error-response-type" : "use_label_defined_1", ... ... @@ -15,6 +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) 28 + 29 +#createFormElement($locality) 30 + 31 +#set($main_complaint = { 32 + "id" : "main_complaint", 33 + "type" : "text", 34 + "required" : "yes", 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" : "Please be as concise as possible when you describe the main complaint. For example: \"chronic headache\", \"intermittend fever\" or \"diarrhea\"" 45 +}) 46 + 47 +#createFormElement($main_complaint) 48 + 49 +#createFormEnd() 50 + 51 +{{/html}} 19 19 {{/velocity}} 20 20