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
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Class properties (1 modified, 3 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 }) ... ... @@ -48,28 +48,6 @@ 48 48 49 49 #createFormElement($book_title) 50 50 51 -#set($author = { 52 - "id" : "author", 53 - "type" : "text", 54 - "required" : "true", 55 - "label" : "Author of the book", 56 - "aria-label" : "Enter the author of the book", 57 - "placeholder" : "Author", 58 - "data-error-response-type" : "use_label_definite_1", 59 - "data-query-type" : "XWQL.matchObject", 60 - "data-query-scope" : "books", 61 - "data-query-list-type" : "suggest-select", 62 - "data-query-list-header" : "$services.localization.render('formMaker.line.suggest_select_list')", 63 - "data-query-list-contents" : "value", 64 - "data-query-list-editable" : "true", 65 - "data-create-xobj" : "true", 66 - "data-xobj-classname" : "books.WebHome", 67 - "data-xobj-fieldname" : "author", 68 - "help-block" : 'Select the author of this case.' 69 -}) 70 - 71 -#createFormElement($author) 72 - 73 73 #set($publish_year = { 74 74 "id" : "publish_year", 75 75 "type" : "number", ... ... @@ -83,7 +83,7 @@ 83 83 "data-xobj-fieldname" : "publish_year" 84 84 }) 85 85 86 -#createFormElement($ publish_year)64 +#createFormElement($remedy) 87 87 88 88 #set($extra_info = { 89 89 "id" : "extra_info", ... ... @@ -97,15 +97,28 @@ 97 97 98 98 #createExpandStart("extra_info" "yes") 99 99 100 -#createExpandEnd() 101 - 102 -#set($submit = { 103 - "id" : "create_book", 104 - "button-text" : "Create book", 105 - "help-block" : "" 78 +#set($author = { 79 + "id" : "author", 80 + "type" : "text", 81 + "required" : "false", 82 + "label" : "Author", 83 + "aria-label" : "Enter the author name", 84 + "placeholder" : "$services.localization.render('cases.word.author.placeholder')", 85 + "data-query-type" : "XWQL.matchObject", 86 + "data-query-scope" : "books", 87 + "data-query-list-type" : "suggest-select", 88 + "data-query-list-header" : "$services.localization.render('formMaker.line.suggest_select_list')", 89 + "data-query-list-contents" : "value", 90 + "data-create-xobj" : "true", 91 + "data-xobj-classname" : "books.WebHome", 92 + "data-xobj-fieldname" : "author", 93 + "help-block" : 'Select the author of this case.' 106 106 }) 107 -#createSubmit($submit) 108 108 96 +#createFormElement($author) 97 + 98 +#createExpandEnd() 99 + 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
- title
-
- Number
-
... ... @@ -1,0 +1,1 @@ 1 +1 - Size
-
... ... @@ -1,0 +1,1 @@ 1 +30 - Pretty Name
-
... ... @@ -1,0 +1,1 @@ 1 +title - Name
-
... ... @@ -1,0 +1,1 @@ 1 +title - Use Suggest
-
... ... @@ -1,0 +1,1 @@ 1 +1
- 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