Changes for page Books
Last modified by Jip-jan Alunkel on November 23, 10:59
From version 8.21
edited by Jip-jan Alunkel
on April 11, 19:42
on April 11, 19:42
Change comment:
Updated class property
To version 8.13
edited by Jip-jan Alunkel
on April 10, 16:58
on April 10, 16:58
Change comment:
Removed class property "title"
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Class properties (1 modified, 2 added, 1 removed)
Details
- Page properties
-
- Content
-
... ... @@ -20,9 +20,9 @@ 20 20 "required" : "true", 21 21 "label" : "Type of book", 22 22 "aria-label" : "Select the type of book", 23 - "placeholder" : "Type", 24 24 "data-error-response-type" : "use_label_definite_1", 25 25 "data-set-space" : "true", 25 + "placeholder" : "Type", 26 26 "space-reference" : "books", 27 27 "help-block" : "Choose the type of book you would like to add." 28 28 }) ... ... @@ -55,13 +55,12 @@ 55 55 "label" : "Author of the book", 56 56 "aria-label" : "Enter the author of the book", 57 57 "placeholder" : "Author", 58 - "data-error-response-type" : "use_label_definite_1", 59 59 "data-query-type" : "XWQL.matchObject", 60 60 "data-query-scope" : "books", 61 61 "data-query-list-type" : "suggest-select", 62 62 "data-query-list-header" : "$services.localization.render('formMaker.line.suggest_select_list')", 63 63 "data-query-list-contents" : "value", 64 - "data-query-list-editable" : " true",63 + "data-query-list-editable" : "false", 65 65 "data-create-xobj" : "true", 66 66 "data-xobj-classname" : "books.WebHome", 67 67 "data-xobj-fieldname" : "author", ... ... @@ -70,6 +70,18 @@ 70 70 71 71 #createFormElement($author) 72 72 72 +#set($extra_info = { 73 + "id" : "extra_info", 74 + "type" : "checkbox", 75 + "required" : "no", 76 + "label" : "Extra information (optional)", 77 + "value" : "yes" 78 +}) 79 + 80 +#createFormElement($extra_info) 81 + 82 +#createExpandStart("extra_info" "yes") 83 + 73 73 #set($publish_year = { 74 74 "id" : "publish_year", 75 75 "type" : "number", ... ... @@ -85,27 +85,8 @@ 85 85 86 86 #createFormElement($publish_year) 87 87 88 -#set($extra_info = { 89 - "id" : "extra_info", 90 - "type" : "checkbox", 91 - "required" : "no", 92 - "label" : "Extra information (optional)", 93 - "value" : "yes" 94 -}) 95 - 96 -#createFormElement($extra_info) 97 - 98 -#createExpandStart("extra_info" "yes") 99 - 100 100 #createExpandEnd() 101 101 102 -#set($submit = { 103 - "id" : "create_book", 104 - "button-text" : "Create book", 105 - "help-block" : "" 106 -}) 107 -#createSubmit($submit) 108 - 109 109 #createFormEnd() 110 110 111 111 {{/html}}
- author
-
- Use Suggest
-
... ... @@ -1,1 +1,0 @@ 1 -1
- remedy
-
- Number
-
... ... @@ -1,0 +1,1 @@ 1 +3 - Size
-
... ... @@ -1,0 +1,1 @@ 1 +30 - Pretty Name
-
... ... @@ -1,0 +1,1 @@ 1 +remedy - Name
-
... ... @@ -1,0 +1,1 @@ 1 +remedy
- type
-
- Number
-
... ... @@ -1,0 +1,1 @@ 1 +2 - Size
-
... ... @@ -1,0 +1,1 @@ 1 +30 - Pretty Name
-
... ... @@ -1,0 +1,1 @@ 1 +type - Name
-
... ... @@ -1,0 +1,1 @@ 1 +type - Use Suggest
-
... ... @@ -1,0 +1,1 @@ 1 +1
- publish_year
-
- Number
-
... ... @@ -1,1 +1,0 @@ 1 -2 - Number Type
-
... ... @@ -1,1 +1,0 @@ 1 -long - Size
-
... ... @@ -1,1 +1,0 @@ 1 -30 - Pretty Name
-
... ... @@ -1,1 +1,0 @@ 1 -publish_year - Name
-
... ... @@ -1,1 +1,0 @@ 1 -publish_year