Skip to content

Commit b8c6ecd

Browse files
committed
participant/add.html: fix E042 .form-control cannot be used on non-textual <input>s.
Correction for 8d45632 commit. Addressed to #499
1 parent 8d45632 commit b8c6ecd

File tree

1 file changed

+2
-2
lines changed
  • src/main/webapp/WEB-INF/views/participant

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ <h3 th:text="${#strings.capitalize(header)}">
110110
Buyer
111111
</label>
112112
<div class="col-sm-1">
113-
<input id="buyer" type="checkbox" class="form-control" th:field="*{buyer}" />
113+
<input id="buyer" type="checkbox" th:field="*{buyer}" />
114114
<!--/*/
115115
<span id="buyer.errors" class="help-block" th:if="${#fields.hasErrors('buyer')}" th:each="error : ${#fields.errors('buyer')}" th:text="${error}"></span>
116116
/*/-->
@@ -122,7 +122,7 @@ <h3 th:text="${#strings.capitalize(header)}">
122122
Seller
123123
</label>
124124
<div class="col-sm-1">
125-
<input id="seller" type="checkbox" checked="checked" class="form-control" th:field="*{seller}" />
125+
<input id="seller" type="checkbox" checked="checked" th:field="*{seller}" />
126126
<!--/*/
127127
<span id="seller.errors" class="help-block" th:if="${#fields.hasErrors('seller')}" th:each="error : ${#fields.errors('seller')}" th:text="${error}"></span>
128128
/*/-->

0 commit comments

Comments
 (0)