Skip to content

Commit 50c50be

Browse files
committed
Make bootlint even more unhappy
Revert "bootlint: fix E042." This reverts commit 599f59b.
1 parent 0ed8a53 commit 50c50be

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/webapp/WEB-INF/views/series/add.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ <h3 th:text="${#strings.capitalize(add_series)}">
261261
<span id="image.required" class="required_field">*</span>
262262
</label>
263263
<div class="col-sm-7">
264-
<input type="file" id="image" style="box-shadow: none; border: 0px;" required="required" accept="image/png,image/jpeg" th:field="*{image}" />
264+
<input type="file" id="image" class="form-control" style="box-shadow: none; border: 0px;" required="required" accept="image/png,image/jpeg" th:field="*{image}" />
265265
<small togglz:active="ADD_ADDITIONAL_IMAGES_TO_SERIES" sec:authorize="hasAuthority('ADD_IMAGES_TO_SERIES')">
266266
<span class="hint-block" th:text="#{t_add_more_images_hint}">
267267
Later you will be able to add additional images

src/main/webapp/WEB-INF/views/series/info.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
<div class="col-sm-8 col-sm-offset-2">
121121
<form method="post" class="form-horizontal" enctype="multipart/form-data" th:action="@{${ADD_IMAGE_SERIES_PAGE}(id=${series.id})}" th:object="${addImageForm}">
122122
<div class="form-group" th:classappend="${#fields.hasErrors('image') ? 'has-error' : ''}">
123-
<input type="file" id="image" style="box-shadow: none; border: 0px;" required="required" accept="image/png,image/jpeg" th:field="*{image}" />
123+
<input type="file" class="form-control" id="image" style="box-shadow: none; border: 0px;" required="required" accept="image/png,image/jpeg" th:field="*{image}" />
124124
<!--/*/
125125
<span id="image.errors" class="help-block" th:if="${#fields.hasErrors('image')}" th:each="error : ${#fields.errors('image')}" th:text="${error}"></span>
126126
/*/-->

0 commit comments

Comments
 (0)