@@ -71,7 +71,8 @@ <h3 th:text="#{t_add_series_ucfirst}">
71
71
scottHasErrors=${#fields.hasErrors('scottNumbers') or #fields.hasErrors('scottPrice')},
72
72
yvertHasErrors=${#fields.hasErrors('yvertNumbers') or #fields.hasErrors('yvertPrice')},
73
73
gibbonsHasErrors=${#fields.hasErrors('gibbonsNumbers') or #fields.hasErrors('gibbonsPrice')},
74
- showCatalogsInfo=${michelHasErrors or scottHasErrors or yvertHasErrors or gibbonsHasErrors} ">
74
+ showCatalogsInfo=${michelHasErrors or scottHasErrors or yvertHasErrors or gibbonsHasErrors},
75
+ issueDateHasErrors=${#fields.hasErrors('day') or #fields.hasErrors('month') or #fields.hasErrors('year')} ">
75
76
76
77
< div class ="form-group form-group-sm " th:classappend ="${#fields.hasErrors('category') ? 'has-error' : ''} ">
77
78
< label for ="category " class ="control-label col-sm-3 ">
@@ -171,13 +172,13 @@ <h3 th:text="#{t_add_series_ucfirst}">
171
172
172
173
< div class ="form-group js-collapse-toggle-header ">
173
174
< div class ="col-sm-offset-3 col-sm-5 ">
174
- < span class ="glyphicon glyphicon-chevron-right " th:class ="${#fields.hasErrors('day') or #fields.hasErrors('month') or #fields.hasErrors('year') ? 'glyphicon glyphicon-chevron-down' : 'glyphicon glyphicon-chevron-right'} "> </ span > < a href ="javascript:void(0) " data-toggle ="collapse " data-target =".js-issue-date " th:text ="#{t_specify_issue_date} ">
175
+ < span class ="glyphicon glyphicon-chevron-right " th:class ="${issueDateHasErrors ? 'glyphicon glyphicon-chevron-down' : 'glyphicon glyphicon-chevron-right'} "> </ span > < a href ="javascript:void(0) " data-toggle ="collapse " data-target =".js-issue-date " th:text ="#{t_specify_issue_date} ">
175
176
Specify date of release
176
177
</ a >
177
178
</ div >
178
179
</ div >
179
180
180
- < div class ="form-group form-group-sm collapse js-issue-date " th:classappend ="${#fields.hasErrors('day') or #fields.hasErrors('month') or #fields.hasErrors('year') ? 'has-error in' : ''} ">
181
+ < div class ="form-group form-group-sm collapse js-issue-date " th:classappend ="${issueDateHasErrors ? 'has-error in' : ''} ">
181
182
< label for ="year " class ="control-label col-sm-3 ">
182
183
< span class ="field-label " th:text ="#{t_issue_date} ">
183
184
Date of release
0 commit comments