Commit c90dbca5ea3996891be1332bbd2950fed94401ec
1 parent
0dcf9990
Exists in
master
Validação.
Showing
1 changed file
with
16 additions
and
10 deletions
Show diff stats
WebContent/WEB-INF/jsp/login/login.jsp
@@ -7,26 +7,32 @@ | @@ -7,26 +7,32 @@ | ||
7 | <jsp:body> | 7 | <jsp:body> |
8 | <div id="painelAcesso"> | 8 | <div id="painelAcesso"> |
9 | 9 | ||
10 | - <!-- ADICIONANDO ERROS | 10 | + |
11 | + <div> | ||
11 | <c:if test="${not empty mensagemValidacaoCampos}"> | 12 | <c:if test="${not empty mensagemValidacaoCampos}"> |
12 | - <c:forEach items="${mensagemValidacaoCampos}" var="error"> | ||
13 | - <div class="${error.campo}"> | ||
14 | - <div class="alinName"><a id="mensagemErroCampoVazio_${error.campo}" href="#${error.campo}">${error.mensagem}</a></div> | ||
15 | - </div> | 13 | + <c:forEach items="${mensagemValidacaoCampos}" var="error"> |
14 | + <div class="alinName"> | ||
15 | + <a id="mensagemErroCampoVazio_${error.campo}" | ||
16 | + href="#${error.campo}">${error.mensagem}</a> | ||
17 | + </div> | ||
16 | <br /> | 18 | <br /> |
17 | </c:forEach> | 19 | </c:forEach> |
18 | - </c:if>--> | 20 | + </c:if> |
21 | + </div> | ||
19 | 22 | ||
20 | 23 | ||
21 | - <p>Entre com o seu 'Código Hash', enviado por e-mail, para ter acesso ao Formulário Circunstanciado. </p> | 24 | + <!-- <p>Entre com o seu 'Código Hash', enviado por e-mail, para ter acesso ao Formulário Circunstanciado. </p> --> |
22 | 25 | ||
23 | - <form method="post" action="${pageContext.request.contextPath}/formulario"> | 26 | + <form method="post" |
27 | + action="${pageContext.request.contextPath}/formulario"> | ||
24 | 28 | ||
25 | <fieldset id="entrarFieldset"> | 29 | <fieldset id="entrarFieldset"> |
26 | <legend>Entrar</legend> | 30 | <legend>Entrar</legend> |
27 | <label for="valorHash">Código Hash:</label><br> | 31 | <label for="valorHash">Código Hash:</label><br> |
28 | - <input type="text" name="valorHash" id="valorHash" size="50" maxlength="50" required="required"><br> | ||
29 | - </fieldset><br> | 32 | + <input type="text" name="valorHash" id="valorHash" size="50" |
33 | + maxlength="50" required="required"><br> | ||
34 | + </fieldset> | ||
35 | + <br> | ||
30 | 36 | ||
31 | <input type="submit" id="botaoAcesso" value="Entrar"> | 37 | <input type="submit" id="botaoAcesso" value="Entrar"> |
32 | </form> | 38 | </form> |