fix
Leonardo Vannucci
2018-09-17 f3b5366c32416d5e516048ad1b8ab7a78ac0f54d
fix
2 files modified
5 ■■■■■ changed files
dg1cloud-core/src/main/java/it/digione/dg1cloud/controller/StartURPController.java 3 ●●●● patch | view | raw | blame | history
dg1cloud-core/src/main/resources/templates/startURP.html 2 ●●● patch | view | raw | blame | history
dg1cloud-core/src/main/java/it/digione/dg1cloud/controller/StartURPController.java
....@@ -59,8 +59,7 @@
5959 BindingResult result) {
6060
6161 ModelAndView modelAndView;
62
- //if (result.hasErrors()){
63
- if (false) {
62
+ if (result.hasErrors()){
6463 modelAndView = new ModelAndView("startURP");
6564 modelAndView.addObject(result);
6665 modelAndView.addObject("startURPForm", form);
dg1cloud-core/src/main/resources/templates/startURP.html
....@@ -25,7 +25,7 @@
2525 method="post" role="form"
2626 enctype="multipart/form-data" >
2727 <div th:if="${message}" th:text="${message}" th:class="${'alert ' + alertClass}"></div>
28
- <div th:th:if="${appIdentifier}">
28
+ <div th:if="${appIdentifier}">
2929 <div th:text="${'Protocollo ' + appIdentifier + ' del ' + appIdentifierDate}" th:class="${'alert alert-info'}"></div>
3030 <div>
3131 <p><a th:href="@{/startURP}" class="btn btn-link"><span th:text="${'Effettua una nuova richiesta'}"></span></a></p>