Wijzigen voor document Books
Laatst gewijzigd door Jip-jan Alunkel op november 23, 10:59
Van versie 3.11
gewijzigd door Jip-jan Alunkel
op maart 28, 16:02
op maart 28, 16:02
Opmerking bij wijziging:
Er is geen opmerking bij deze versie
Naar versie 3.24
gewijzigd door Jip-jan Alunkel
op maart 28, 18:49
op maart 28, 18:49
Opmerking bij wijziging:
Er is geen opmerking bij deze versie
Samenvatting
-
Paginaeigenschappen (1 gewijzigd, 0 toegevoegd, 0 verwijderd)
Details
- Paginaeigenschappen
-
- Inhoud
-
... ... @@ -1,18 +2,22 @@ 1 - 2 2 {{velocity}} 3 3 #set ($discard = $services.localization.use('document', 'cases.Code.translations')) 4 4 #set( $discard = $xwiki.ssx.use('cases.WebHome') ) 5 5 #set( $discard = $xwiki.jsx.use('cases.WebHome', {'minify' : false}) ) 6 6 {{/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 +#createFormStart("homeoworld_form" "case") 15 + 12 12 #set($locality = { 13 13 "id" : "locality", 14 14 "type" : "select", 15 - "required" : true,19 + "required" : "yes", 16 16 "label" : "Locality of the main complaint", 17 17 "aria-label" : "Select the locality", 18 18 "data-error-response-type" : "use_label_defined_1", ... ... @@ -21,12 +21,13 @@ 21 21 "space-reference" : "cases", 22 22 "help-block" : "In which physiological or psychological epicenter can the main complaint be placed? Select the best fitting option from this list." 23 23 }) 28 + 24 24 #createFormElement($locality) 25 25 26 26 #set($main_complaint = { 27 27 "id" : "main_complaint", 28 28 "type" : "text", 29 - "required" : true,34 + "required" : "yes", 30 30 "label" : "Main complaint", 31 31 "aria-label" : "Enter the main complaint", 32 32 "placeholder" : "cases.wordgroup.main_complaint.placeholder", ... ... @@ -36,9 +36,32 @@ 36 36 "data-query-list-type" : "suggest-negate", 37 37 "data-query-list-contents" : "value", 38 38 "data-create-page" : "true", 39 - "help-block" : "In which physiologicalorpsychologicalepicentercanthe main complaintbeplaced?Selectthebestfitting option fromthis list."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 40 }) 46 + 41 41 #createFormElement($main_complaint) 42 42 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}} 43 43 {{/velocity}} 44 44