Wiki source code of Books
Version 3.13 by Jip-jan Alunkel on March 28, 16:12
Show last authors
author | version | line-number | content |
---|---|---|---|
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 | All about books | ||
7 | |||
8 | {{include reference="assets.macros.form-elements" /}} | ||
9 | |||
10 | {{velocity}} | ||
11 | |||
12 | #createFormStart("homeoworld_form" "case") | ||
13 | |||
14 | #set($locality = { | ||
15 | "id" : "locality", | ||
16 | "type" : "select", | ||
17 | "required" : true, | ||
18 | "label" : "Locality of the main complaint", | ||
19 | "aria-label" : "Select the locality", | ||
20 | "data-error-response-type" : "use_label_defined_1", | ||
21 | "data-set-space" : "true", | ||
22 | "placeholder" : "cases.word.locality_select.placeholder", | ||
23 | "space-reference" : "cases", | ||
24 | "help-block" : "In which physiological or psychological epicenter can the main complaint be placed? Select the best fitting option from this list." | ||
25 | }) | ||
26 | |||
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 | |||
50 | {{/velocity}} |