Changes for page Books

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

From version 3.34
edited by Jip-jan Alunkel
on March 29, 16:40
Change comment: There is no comment for this version
To version 3.31
edited by Jip-jan Alunkel
on March 28, 23:34
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -77,25 +77,38 @@
77 77  
78 78  #createExpandStart("extra_info" "yes")
79 79  
80 +<input type="text" class="form-control full"
81 +name="author_text"
82 +id="author_text"
83 +placeholder="${services.localization.render('cases.word.author.placeholder')}"
84 +aria-describedby="author_helpBlock"
85 +aria-label="Enter the author name"
86 +data-query-type="XWQL.matchObject"
87 +data-query-scope="cases"
88 +data-query-list-type="suggest-select"
89 +data-query-list-contents="value"
90 +data-query-list-editable="true"
91 +data-create-xobj="true"
92 +data-xobj-classname="cases.Code.casesClass"
93 +data-xobj-fieldname="author"
94 +autocomplete="off">
80 80  #set($author = {
81 - "id" : "author",
96 + "id" : "remedy",
82 82   "type" : "text",
83 - "required" : "no",
84 - "label" : "Author",
85 - "aria-label" : "Enter the author name",
86 - "placeholder" : "cases.word.author.placeholder",
87 - "data-query-type" : "XWQL.matchObject",
88 - "data-query-scope" : "cases",
98 + "required" : "yes",
99 + "label" : "Remedy",
100 + "aria-label" : "Choose the remedy",
101 + "placeholder" : "cases.word.remedy.placeholder",
102 + "data-error-response-type" : "use_label_undefined",
103 + "data-query-type" : "JSON.remedies",
89 89   "data-query-list-type" : "suggest-select",
90 - "data-query-list-contents" : "value",
105 + "data-query-list-contents" : "value/key",
91 91   "data-create-xobj" : "true",
92 92   "data-xobj-classname" : "cases.Code.casesClass",
93 - "data-xobj-fieldname" : "author",
94 - "help-block" : 'Select the author of this case.'
108 + "data-xobj-fieldname" : "remedy",
109 + "help-block" : 'Select the remedy that is central in this case.'
95 95  })
96 96  
97 -#createFormElement($author)
98 -
99 99  #createExpandEnd()
100 100  
101 101  #createFormEnd()