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

80 lines
3.4 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-09 08:19:39 +01:00
<div class="fform" >
2009-06-07 20:59:43 +02:00
2012-09-15 17:59:56 +02:00
<h1><spring:message code="USER_REGISTRATION"/></h1>
2012-05-19 06:58:37 +02:00
2012-09-15 17:59:56 +02:00
<p><spring:message code="REGISTRATION_TITLE_MSG"/></p>
2014-02-09 08:19:39 +01:00
<form:form method="post" commandName="user" class="form-horizontal">
2012-09-15 17:59:56 +02:00
<fieldset>
2014-02-09 08:19:39 +01:00
<div class="form-group">
2014-02-10 00:12:24 +01:00
<label for="email" class="col-md-2 control-label"><spring:message code="EMAIL"/>: </label>
<div class="col-md-5">
2014-02-09 08:19:39 +01:00
<form:input path="email" id="email" type="email" required="required" class="form-control"/>
<form:errors path="email" cssClass="errorMsg"/>
</div>
</div>
<div class="form-group">
2014-02-10 00:12:24 +01:00
<label for="firstname" class="col-md-2 control-label"><spring:message code="FIRSTNAME"/>: </label>
<div class="col-md-5">
2014-02-09 08:19:39 +01:00
<form:input path="firstname" id="firstname" required="required" class="form-control"/>
<form:errors path="firstname" cssClass="errorMsg"/>
</div>
</div>
<div class="form-group">
2014-02-10 00:12:24 +01:00
<label for="lastname" class="col-md-2 control-label"><spring:message code="LASTNAME"/>: </label>
<div class="col-md-5">
2014-02-09 08:19:39 +01:00
<form:input path="lastname" id="lastname" required="required" class="form-control"/>
<form:errors path="lastname" cssClass="errorMsg"/>
</div>
</div>
<div class="form-group">
2014-02-10 00:12:24 +01:00
<label for="password" class="col-md-2 control-label"><spring:message code="PASSWORD"/>: </label>
<div class="col-md-5">
2014-02-09 08:19:39 +01:00
<form:password path="password" id="password" required="required" class="form-control"/>
<form:errors path="password" cssClass="errorMsg"/>
</div>
</div>
<div class="form-group">
2014-02-10 00:12:24 +01:00
<label for="retypePassword" class="col-md-2 control-label"><spring:message code="RETYPE_PASSWORD"/>: </label>
<div class="col-md-5">
2014-02-09 08:19:39 +01:00
<form:password path="retypePassword" id="retypePassword" class="form-control"/>
<form:errors path="retypePassword" cssClass="errorMsg"/>
</div>
</div>
<div class="form-group">
2014-02-10 00:12:24 +01:00
<div class="col-md-10 col-md-offset-2">
2014-02-09 08:19:39 +01:00
<c:if test="${requestScope.captchaEnabled}">
${requestScope.captchaHtml}
<p>
<form:errors path="captcha" cssClass="errorMsg"/>
</p>
</c:if>
</div>
</div>
2012-09-15 17:59:56 +02:00
<div>
<p>
2012-09-15 17:59:56 +02:00
<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>
2012-09-15 17:59:56 +02:00
</div>
2014-02-09 08:34:25 +01:00
<div class="form-group">
2014-02-10 00:12:24 +01:00
<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"/>"
2012-09-15 17:59:56 +02: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"/>"
2012-09-15 17:59:56 +02:00
onclick="window.location='c/<c:url value="maps/"/>'" class="btn">
2014-02-09 08:34:25 +01:00
<div>
<div>
</fieldset>
</form:form>
2009-06-07 20:59:43 +02:00
</div>