dg1cloud-core/src/main/java/it/digione/dg1cloud/controller/StartURPController.java
.. .. @@ -59,8 +59,7 @@ 59 59 BindingResult result) { 60 60 61 61 ModelAndView modelAndView; 62 - //if (result.hasErrors()){63 - if (false) {62 + if (result.hasErrors()){64 63 modelAndView = new ModelAndView("startURP"); 65 64 modelAndView.addObject(result); 66 65 modelAndView.addObject("startURPForm", form); dg1cloud-core/src/main/resources/templates/startURP.html
.. .. @@ -25,7 +25,7 @@ 25 25 method="post" role="form" 26 26 enctype="multipart/form-data" > 27 27 <div th:if="${message}" th:text="${message}" th:class="${'alert ' + alertClass}"></div> 28 - <div th:th:if="${appIdentifier}">28 + <div th:if="${appIdentifier}">29 29 <div th:text="${'Protocollo ' + appIdentifier + ' del ' + appIdentifierDate}" th:class="${'alert alert-info'}"></div> 30 30 <div> 31 31 <p><a th:href="@{/startURP}" class="btn btn-link"><span th:text="${'Effettua una nuova richiesta'}"></span></a></p>