<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<html>
<head>
<title>User - Register</title>
<style type="text/css">
@import "/WEB-CONTENT/CSS/layout.css";
</style>
</head>
<body>
	<div id="container">
		<%@include file="/WEB-CONTENT/header.jsp"%>
		<div id="content" class="rounded-corners">
			<h1>Register</h1>
			<div class="span-12 last">
				<form:form modelAttribute="dbUser" action="register" method="post">
					<p>
						<form:label for="username" path="username" cssErrorClass="error">UserName</form:label>
						<form:input path="username" />
						<form:errors path="username" />
					</p>
					<p>
						<form:label for="password" path="password" cssErrorClass="error">Password</form:label>
						<form:input path="password" type="password" />
						<form:errors path="password" />
					</p>
					<p>
						<form:label for="email" path="email" cssErrorClass="error">E-mail</form:label>
						<form:input path="email" />
						<form:errors path="email" />
					</p>
					<p>
						<input type="submit" />
					</p>
				</form:form>
			</div>
		</div>
		<%@include file="/WEB-CONTENT/footer.jsp"%>
	</div>
</body>
</html>