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

<html>
<head></head>
<body>

<h4 class="title"><fmt:message key="register.title" /></h4>
<form:form method="post" commandName="registerUser">
	<form:hidden path="isNew"/>

	<authz:authorize ifAllGranted="ROLE_ANONYMOUS">
			<form:label path="login"><fmt:message key="form.register.user.login" /></form:label>  <form:input path="login" disabled="false" /> <span class="formError"><form:errors path="login" /></span><br/><br />
	</authz:authorize>
	<authz:authorize ifNotGranted="ROLE_ANONYMOUS">
			<form:label path="login"><fmt:message key="form.register.user.login" /></form:label>  <form:input path="login" disabled="true"/> <span class="formError"><form:errors path="login" /></span><br/><br />
	</authz:authorize>

	<form:label path="email"><fmt:message key="form.register.user.email" /></form:label>  <form:input path="email"/> <span class="formError"><form:errors path="email" /></span><br/><br />
	<form:label path="password"><fmt:message key="form.register.user.password" /></form:label>  <form:password path="password" showPassword="true"/> <span class="formError"><form:errors path="password" /></span><br/><br />
	<form:label path="passwordConfirm"><fmt:message key="form.register.user.passwordConfirm" /></form:label>  <form:password path="passwordConfirm" showPassword="true"/><br/><br />
	
	<form:label path="firstName"><fmt:message key="form.register.user.firstName" /></form:label>  <form:input path="firstName"/> <span class="formError"><form:errors path="firstName" /></span><br/><br />
	<form:label path="lastName"><fmt:message key="form.register.user.lastName" /></form:label>  <form:input path="lastName"/> <span class="formError"><form:errors path="lastName" /></span><br/><br />
	<form:label path="organization"><fmt:message key="form.register.user.organization" /></form:label>  <form:input path="organization"/> <span class="formError"><form:errors path="organization" /></span><br/><br />
	
	
	<input type="reset" value="<fmt:message key="button.reset" />"/>
	<input type="submit" value="<fmt:message key="button.OK" />"/> <br/><br/>
</form:form>



<a href="<c:url value="main.htm"/>">Home</a>


  </body>
</html>
