Wiki source code of Books
Version 3.11 by Jip-jan Alunkel on março 28, 16:02
Show last authors
author | version | line-number | content |
---|---|---|---|
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 | All about books | ||
8 | |||
9 | {{include reference="assets.macros.form-elements" /}} | ||
10 | |||
11 | {{velocity}} | ||
12 | #set($locality = { | ||
13 | "id" : "locality", | ||
14 | "type" : "select", | ||
15 | "required" : true, | ||
16 | "label" : "Locality of the main complaint", | ||
17 | "aria-label" : "Select the locality", | ||
18 | "data-error-response-type" : "use_label_defined_1", | ||
19 | "data-set-space" : "true", | ||
20 | "placeholder" : "cases.word.locality_select.placeholder", | ||
21 | "space-reference" : "cases", | ||
22 | "help-block" : "In which physiological or psychological epicenter can the main complaint be placed? Select the best fitting option from this list." | ||
23 | }) | ||
24 | #createFormElement($locality) | ||
25 | |||
26 | #set($main_complaint = { | ||
27 | "id" : "main_complaint", | ||
28 | "type" : "text", | ||
29 | "required" : true, | ||
30 | "label" : "Main complaint", | ||
31 | "aria-label" : "Enter the main complaint", | ||
32 | "placeholder" : "cases.wordgroup.main_complaint.placeholder", | ||
33 | "data-error-response-type" : "use_label_defined_1", | ||
34 | "data-query-type" : "XWQL.matchTitle", | ||
35 | "data-query-scope" : "cases", | ||
36 | "data-query-list-type" : "suggest-negate", | ||
37 | "data-query-list-contents" : "value", | ||
38 | "data-create-page" : "true", | ||
39 | "help-block" : "In which physiological or psychological epicenter can the main complaint be placed? Select the best fitting option from this list." | ||
40 | }) | ||
41 | #createFormElement($main_complaint) | ||
42 | |||
43 | {{/velocity}} |