Set up authentication system

This commit is contained in:
tjp03u
2014-10-23 22:13:03 +01:00
parent e10021d47b
commit c2beb24487
42 changed files with 705 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
{% extends 'base.html' %}
{% load widget_tweaks %}
{% block title %}Activation{% endblock %}
{% block content %}
<form action="" method="post" class="form-horizontal" role="form">{% csrf_token %}
{% for field in form %}
<div class="form-group">
<label for="{{ field.id_for_label }}" class="control-label col-sm-2">{{ field.label }}</label>
<div class="controls col-sm-10">
{% render_field field class+="form-control" placeholder=field.label %}
</div>
</div>
{% endfor %}
<p><input type="submit" value="Activate Account" class="btn btn-primary pull-right"></p>
</form>
{% endblock %}