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