Changes for page Books

Last modified by Jip-jan Alunkel on November 23, 10:59

From version 8.7
edited by Jip-jan Alunkel
on April 10, 15:53
Change comment: Added class property
To version 8.9
edited by Jip-jan Alunkel
on April 10, 16:27
Change comment: Added class property

Summary

Details

Page properties
Content
... ... @@ -19,7 +19,7 @@
19 19   "type" : "select",
20 20   "required" : "true",
21 21   "label" : "Type of book",
22 - "aria-label" : "Select the locality",
22 + "aria-label" : "Select the type of book",
23 23   "data-error-response-type" : "use_label_definite_1",
24 24   "data-set-space" : "true",
25 25   "placeholder" : "Type",
... ... @@ -40,30 +40,25 @@
40 40   "data-query-type" : "XWQL.matchTitle",
41 41   "data-query-scope" : "books",
42 42   "data-query-list-type" : "suggest-negate",
43 - "data-query-list-header" : "$services.localization.render('cases.line.suggest_negate_list')",
43 + "data-query-list-header" : "$services.localization.render('formMaker.line.suggest_negate_list')",
44 44   "data-query-list-contents" : "value",
45 45   "data-create-page" : "true",
46 - "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."'
46 + "help-block" : 'When providing a title of a common type of book, please also provide the authorʼs last name, viz. Boericke Materia Medica.'
47 47  })
48 48  
49 49  #createFormElement($book_title)
50 50  
51 -#set($remedy = {
52 - "id" : "remedy",
53 - "type" : "text",
51 +#set($publish_year = {
52 + "id" : "publish_year",
53 + "type" : "number",
54 54   "required" : "true",
55 - "label" : "Remedy",
56 - "aria-label" : "Choose the remedy",
57 - "placeholder" : "$services.localization.render('cases.word.remedy.placeholder')",
55 + "label" : "Year of publishing",
56 + "aria-label" : "Enter the year of publishing",
57 + "placeholder" : "Year",
58 58   "data-error-response-type" : "use_label_definite_1",
59 - "data-query-type" : "JSON.remedies",
60 - "data-query-list-type" : "suggest-select",
61 - "data-query-list-header" : "$services.localization.render('cases.line.suggest_select_list')",
62 - "data-query-list-contents" : "value/key",
63 63   "data-create-xobj" : "true",
64 64   "data-xobj-classname" : "books.WebHome",
65 - "data-xobj-fieldname" : "remedy",
66 - "help-block" : 'Select the remedy that is central in this case.'
61 + "data-xobj-fieldname" : "publish_year"
67 67  })
68 68  
69 69  #createFormElement($remedy)
... ... @@ -90,7 +90,7 @@
90 90   "data-query-type" : "XWQL.matchObject",
91 91   "data-query-scope" : "books",
92 92   "data-query-list-type" : "suggest-select",
93 - "data-query-list-header" : "$services.localization.render('cases.line.suggest_select_list')",
88 + "data-query-list-header" : "$services.localization.render('formMaker.line.suggest_select_list')",
94 94   "data-query-list-contents" : "value",
95 95   "data-create-xobj" : "true",
96 96   "data-xobj-classname" : "books.WebHome",