Skip to content

Commit 0b1a1c6

Browse files
committed
refactor: move th:if to outer div
1 parent 2571e8a commit 0b1a1c6

File tree

1 file changed

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

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,10 +467,9 @@ <h5 th:text="#{t_hidden_images}">Hidden images</h5>
467467
</div>
468468
</div>
469469
<!--/*/
470-
<div class="col-sm-offset-3 col-sm-6" th:if="${isHtmx}">
470+
<div class="col-sm-offset-3 col-sm-6" th:if="${isHtmx and #fields.hasErrors('price')}">
471471
<span id="price.errors"
472472
class="help-block"
473-
th:if="${#fields.hasErrors('price')}"
474473
th:each="error : ${#fields.errors('price')}" th:text="${error}">
475474
</span>
476475
</div>

0 commit comments

Comments
 (0)