Changes for page Books

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

From version 7.1
edited by Jip-jan Alunkel
on April 09, 16:48
Change comment: Added class property
To version 8.2
edited by Jip-jan Alunkel
on April 09, 19:44
Change comment: Added class property

Summary

Details

Page properties
Content
... ... @@ -17,7 +17,7 @@
17 17  #set($booktype = {
18 18   "id" : "booktype",
19 19   "type" : "select",
20 - "required" : "yes",
20 + "required" : "true",
21 21   "label" : "Type of book",
22 22   "aria-label" : "Select the locality",
23 23   "data-error-response-type" : "use_label_defined_1",
... ... @@ -29,14 +29,14 @@
29 29  
30 30  #createFormElement($booktype)
31 31  
32 -#set($main_complaint = {
33 - "id" : "main_complaint",
32 +#set($book_title = {
33 + "id" : "book_title",
34 34   "type" : "text",
35 - "required" : "yes",
36 - "label" : "Main complaint",
37 - "aria-label" : "Enter the main complaint",
35 + "required" : "true",
36 + "label" : "Title",
37 + "aria-label" : "Enter the title of the book",
38 38   "placeholder" : "$services.localization.render('cases.wordgroup.main_complaint.placeholder')",
39 - "data-error-response-type" : "use_label_defined_1",
39 + "data-error-response-type" : "use_label_definite_1",
40 40   "data-query-type" : "XWQL.matchTitle",
41 41   "data-query-scope" : "books",
42 42   "data-query-list-type" : "suggest-negate",
... ... @@ -51,11 +51,11 @@
51 51  #set($remedy = {
52 52   "id" : "remedy",
53 53   "type" : "text",
54 - "required" : "yes",
54 + "required" : "true",
55 55   "label" : "Remedy",
56 56   "aria-label" : "Choose the remedy",
57 57   "placeholder" : "$services.localization.render('cases.word.remedy.placeholder')",
58 - "data-error-response-type" : "use_label_undefined",
58 + "data-error-response-type" : "use_label_definite_1",
59 59   "data-query-type" : "JSON.remedies",
60 60   "data-query-list-type" : "suggest-select",
61 61   "data-suggest-list-header" : "$services.localization.render('cases.line.suggest_select_list')",
... ... @@ -83,7 +83,7 @@
83 83  #set($author = {
84 84   "id" : "author",
85 85   "type" : "text",
86 - "required" : "no",
86 + "required" : "false",
87 87   "label" : "Author",
88 88   "aria-label" : "Enter the author name",
89 89   "placeholder" : "$services.localization.render('cases.word.author.placeholder')",