wisemapping-open-source/wise-webapp/src/main/webapp/jsp/userRegistration.jsp

78 lines
3.1 KiB
Plaintext
Raw Normal View History

2012-06-30 07:26:21 +02:00
<%@page pageEncoding="UTF-8" %>
<%@include file="/jsp/init.jsp" %>
2014-02-10 01:58:23 +01:00
<h1><spring:message code="USER_REGISTRATION"/></h1>
2009-06-07 20:59:43 +02:00
2014-02-10 01:58:23 +01:00
<p><spring:message code="REGISTRATION_TITLE_MSG"/></p>
2020-11-07 06:35:54 +01:00
<form:form method="post" modelAttribute="user" class="form-horizontal">
2014-02-10 01:58:23 +01:00
<div class="form-group">
<label for="email" class="col-md-2 control-label"><spring:message code="EMAIL"/>: </label>
<div class="col-md-5">
<form:input path="email" id="email" type="email" required="required" class="form-control"/>
<form:errors path="email" cssClass="errorMsg"/>
2014-02-09 08:19:39 +01:00
</div>
2014-02-10 01:58:23 +01:00
</div>
<div class="form-group">
<label for="firstname" class="col-md-2 control-label"><spring:message code="FIRSTNAME"/>: </label>
<div class="col-md-5">
<form:input path="firstname" id="firstname" required="required" class="form-control"/>
<form:errors path="firstname" cssClass="errorMsg"/>
2014-02-09 08:19:39 +01:00
</div>
2014-02-10 01:58:23 +01:00
</div>
<div class="form-group">
<label for="lastname" class="col-md-2 control-label"><spring:message code="LASTNAME"/>: </label>
<div class="col-md-5">
<form:input path="lastname" id="lastname" required="required" class="form-control"/>
<form:errors path="lastname" cssClass="errorMsg"/>
2014-02-09 08:19:39 +01:00
</div>
2014-02-10 01:58:23 +01:00
</div>
<div class="form-group">
<label for="password" class="col-md-2 control-label"><spring:message code="PASSWORD"/>: </label>
<div class="col-md-5">
<form:password path="password" id="password" required="required" class="form-control"/>
<form:errors path="password" cssClass="errorMsg"/>
2014-02-09 08:19:39 +01:00
</div>
2014-02-10 01:58:23 +01:00
</div>
<div class="form-group">
<label for="retypePassword" class="col-md-2 control-label"><spring:message
code="RETYPE_PASSWORD"/>: </label>
<div class="col-md-5">
<form:password path="retypePassword" id="retypePassword" class="form-control"/>
<form:errors path="retypePassword" cssClass="errorMsg"/>
2014-02-09 08:19:39 +01:00
</div>
2014-02-10 01:58:23 +01:00
</div>
<div class="form-group">
<div class="col-md-10 col-md-offset-2">
<c:if test="${requestScope.recaptchaEnabled}">
<div class="g-recaptcha" data-sitekey="${requestScope.recaptchaSiteKey}"></div>
2018-09-16 21:29:19 +02:00
<p cssClass="errorMsg">${requestScope.captcha}</p>
2014-02-09 08:19:39 +01:00
</c:if>
2012-09-15 17:59:56 +02:00
</div>
2014-02-10 01:58:23 +01:00
</div>
<div class="form-group">
<p>
<spring:message code="TERM_OF_THE_SERVICE"/>
<spring:message code="WISEMAPPING_ACCOUNT_MESSAGE"/>
<a href="c/termsOfUse" target="_blank"><spring:message code="HERE"/></a>.
<spring:message code="REGISTRATION_CLICK_ADVICE"/>
</p>
</div>
<div class="form-group">
<div class="col-md-offset-2 col-md-10">
2014-02-09 08:34:25 +01:00
<input type="submit" value="<spring:message code="REGISTER"/>"
2014-02-10 01:58:23 +01:00
data-loading-text="<spring:message code="REGISTER"/> ..." id="submitButton"
class="btn btn-primary">
2014-02-09 08:34:25 +01:00
<input type="button" value="<spring:message code="CANCEL"/>"
2014-02-10 01:58:23 +01:00
onclick="window.location='c/<c:url value="maps/"/>'" class="btn">
</div>
</div>
</form:form>
2014-02-09 08:34:25 +01:00