Modifiche per il documento Books

Ultima modifica di Jip-jan Alunkel il novembre 23, 10:59

Dalla versione 3.24
modificato da Jip-jan Alunkel
il marzo 28, 18:49
Cambia il commento: Nessun commento per questa versione
Alla versione 3.12
modificato da Jip-jan Alunkel
il marzo 28, 16:09
Cambia il commento: Nessun commento per questa versione

Summary

Details

Page properties
Content
... ... @@ -1,22 +1,20 @@
1 +
1 1  {{velocity}}
2 2  #set ($discard = $services.localization.use('document', 'cases.Code.translations'))
3 3  #set( $discard = $xwiki.ssx.use('cases.WebHome') )
4 4  #set( $discard = $xwiki.jsx.use('cases.WebHome', {'minify' : false}) )
5 5  {{/velocity}}
6 -
7 7  All about books
8 8  
9 9  {{include reference="assets.macros.form-elements" /}}
10 10  
11 11  {{velocity}}
12 -{{html}}
13 -
14 14  #createFormStart("homeoworld_form" "case")
15 15  
16 16  #set($locality = {
17 17   "id" : "locality",
18 18   "type" : "select",
19 - "required" : "yes",
17 + "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",
... ... @@ -25,13 +25,11 @@
25 25   "space-reference" : "cases",
26 26   "help-block" : "In which physiological or psychological epicenter can the main complaint be placed? Select the best fitting option from this list."
27 27  })
28 -
29 29  #createFormElement($locality)
30 -
31 31  #set($main_complaint = {
32 32   "id" : "main_complaint",
33 33   "type" : "text",
34 - "required" : "yes",
30 + "required" : true,
35 35   "label" : "Main complaint",
36 36   "aria-label" : "Enter the main complaint",
37 37   "placeholder" : "cases.wordgroup.main_complaint.placeholder",
... ... @@ -41,32 +41,10 @@
41 41   "data-query-list-type" : "suggest-negate",
42 42   "data-query-list-contents" : "value",
43 43   "data-create-page" : "true",
44 - "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."'
40 + "help-block" : "In which physiological or psychological epicenter can the main complaint be placed? Select the best fitting option from this list."
45 45  })
46 -
47 47  #createFormElement($main_complaint)
43 +#createFormEnd
48 48  
49 -#set($remedy = {
50 - "id" : "remedy",
51 - "type" : "text",
52 - "required" : "yes",
53 - "label" : "Remedy",
54 - "aria-label" : "Choose the remedy",
55 - "placeholder" : "cases.word.remedy.placeholder",
56 - "data-error-response-type" : "use_label_undefined",
57 - "data-query-type" : "JSON.remedies",
58 - "data-query-list-type" : "suggest-select",
59 - "data-query-list-contents" : "value/key",
60 - "data-create-xobj" : "true",
61 - "data-xobj-classname" : "cases.Code.casesClass",
62 - "data-xobj-fieldname" : "remedy",
63 - "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."'
64 -})
65 -
66 -#createFormElement($remedy)
67 -
68 -#createFormEnd()
69 -
70 -{{/html}}
71 71  {{/velocity}}
72 72