validateemail.jsp 834 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
<!DOCTYPE html>

<%@include file="/WEB-INF/jsp/init.jsp" %>

<html>
<head>
    <title><spring:message code="validate.email"/></title>
</head>
<body>
<h1>
    <spring:message code="validate.email.key"/>
</h1>

<form role="form" class="form-vertical validate" action="<c:url value="/profile/${tokenUuid}/validate" />" method="post">
15

16 17 18 19 20 21 22
    <div class="col-lg-3">
        <input type="text" id="key" name="key" class="span1 form-control" maxlength="4"/>
    </div>
    <div class="col-lg-3">
        <input type="submit" value="OK" class="btn btn-primary"/>
    </div>

23 24 25 26
    <gui:alert type="error" display="${error ne null }">
        <spring:message code="validate.email.invalid.key"/>
    </gui:alert>

Nick Martynenko's avatar
CSRF  
Nick Martynenko committed
27 28
    <!-- CSRF protection -->
    <input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}"/>
29 30 31 32 33
</form>


</body>
</html>