File tree 1 file changed +17
-8
lines changed
src/main/webapp/WEB-INF/views/series
1 file changed +17
-8
lines changed Original file line number Diff line number Diff line change 86
86
</ div >
87
87
88
88
< div class ="row " th:if ="${allowAddingImages} " togglz:active ="ADD_ADDITIONAL_IMAGES_TO_SERIES ">
89
- < div class ="col-sm-8 col-sm-offset-2 ">
89
+ < div class ="col-sm-10 ">
90
90
< form id ="add-image-form "
91
91
method ="post "
92
92
class ="form-horizontal "
93
93
enctype ="multipart/form-data "
94
94
th:action ="@{${ADD_IMAGE_SERIES_PAGE}(id=${series.id})} "
95
95
th:object ="${addImageForm} ">
96
- < div class ="form-group " th:classappend ="${#fields.hasErrors('image') ? 'has-error' : ''} ">
97
- < input type ="file " id ="image " style ="box-shadow: none; border: 0px; " required ="required " accept ="image/png,image/jpeg " th:field ="*{image} " />
98
- <!--/*/
99
- <span id="image.errors" class="help-block" th:if="${#fields.hasErrors('image')}" th:each="error : ${#fields.errors('image')}" th:text="${error}"></span>
100
- /*/-->
96
+ < div class ="form-group form-group-sm " th:classappend ="${#fields.hasErrors('image') ? 'has-error' : ''} ">
97
+ < label for ="image " class ="control-label col-sm-3 ">
98
+ < span th:remove ="tag " th:text ="#{t_image} ">
99
+ Image
100
+ </ span >
101
+ </ label >
102
+ < div class ="col-sm-9 ">
103
+ < input type ="file " id ="image " style ="box-shadow: none; border: 0px; " required ="required " accept ="image/png,image/jpeg " th:field ="*{image} " />
104
+ <!--/*/
105
+ <span id="image.errors" class="help-block" th:if="${#fields.hasErrors('image')}" th:each="error : ${#fields.errors('image')}" th:text="${error}"></span>
106
+ /*/-->
107
+ </ div >
101
108
</ div >
102
- < div class ="from-group-sm ">
103
- < input type ="submit " class ="btn btn-primary " value ="Add image " th:value ="#{t_add_image} " />
109
+ < div class ="form-group from-group-sm ">
110
+ < div class ="col-sm-offset-3 col-sm-5 ">
111
+ < input type ="submit " class ="btn btn-primary " value ="Add image " th:value ="#{t_add_image} " />
112
+ </ div >
104
113
</ div >
105
114
</ form >
106
115
</ div >
You can’t perform that action at this time.
0 commit comments