{% extends "users/base.html" %}
{% load crispy_forms_tags %}
{% block content %}

	<div class="content-section container col-md-4">
		{% if messages %}
				{% for message in messages %}
					<div class="alert alert-{{  message.tags }}">
						{{ message }}
					</div>
				{% endfor%}
			{% endif %}
		<form method="POST">
			{% csrf_token %}
			<fieldset class="form-group">
				<legend class="border-bottom mb-4">
					Join Today!
				</legend>
				{{ form|crispy }}
			</fieldset>
			<div class="form-group">
				<button class="btn btn-outline-info" type="submit">Sign Up</button>
			</div>
		</form>


		<div class = "border-top pt-3">
			<small class="text-muted">
				Already Have an Account? <a href="../login" class="ml-2">Sign In</a>
			</small>
		</div>
	</div>

{% endblock content %}