Fixed error reporting format.

This commit is contained in:
Daniel Fernández
2012-12-29 22:10:12 +01:00
committed by Rossen Stoyanchev
parent f60181ad06
commit 63170166fb

View File

@@ -76,7 +76,9 @@
<form id="booking" action="#" th:object="${booking}" th:action="${flowExecutionUrl}" method="post">
<div class="error" th:if="${#fields.hasErrors('*')}">
<span th:each="err : ${#fields.errors('*')}" th:text="${err} + '&lt;br /&gt;'">Input is incorrect</span>
<span th:each="err : ${#fields.errors('*')}">
<span th:text="${err}">Input is incorrect</span><br />
</span>
</div>
<fieldset>