{% extends '../template.html' %}
{% block title %}Login{% endblock %}
{% block content %}
	<div>
	{% if session.flash.error != "" %}
		<div class="error">{{session.flash.error}}</div>
	{% endif %}
	
		<h1>Login</h1>
		<hr/>
		[[fields]]
	</div>
	
	<a href="{% nav [[name]]_new %}">Register</a>
{% endblock %}
