Skip to content

Commit 2571e8a

Browse files
committed
refactor: move th:if from th:block to div
1 parent c300e93 commit 2571e8a

File tree

1 file changed

+8
-10
lines changed
  • src/main/webapp/WEB-INF/views/series

1 file changed

+8
-10
lines changed

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

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -466,17 +466,15 @@ <h5 th:text="#{t_hidden_images}">Hidden images</h5>
466466
required="required" />
467467
</div>
468468
</div>
469-
<div class="col-sm-offset-3 col-sm-6">
470-
<!--/*/
471-
<th:block th:if="${isHtmx}">
472-
<span id="price.errors"
473-
class="help-block"
474-
th:if="${#fields.hasErrors('price')}"
475-
th:each="error : ${#fields.errors('price')}" th:text="${error}">
476-
</span>
477-
</th:block>
478-
/*/-->
469+
<!--/*/
470+
<div class="col-sm-offset-3 col-sm-6" th:if="${isHtmx}">
471+
<span id="price.errors"
472+
class="help-block"
473+
th:if="${#fields.hasErrors('price')}"
474+
th:each="error : ${#fields.errors('price')}" th:text="${error}">
475+
</span>
479476
</div>
477+
/*/-->
480478
</div>
481479
<div class="col-sm-offset-3 col-sm-4">
482480
<button id="add-catalog-price-btn"

0 commit comments

Comments
 (0)