registration_form

This commit is contained in:
Guilhem Saurel 2016-06-12 22:14:08 +02:00
parent 488857494d
commit b3b14fbeb1
1 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{% extends 'base.html' %}
{% load bootstrap3 %}
{% block content %}
<div class="page-header">
<h1>
Registration
</h1>
</div>
<div class="row">
<div class="col-md-offset-4 col-md-4">
<div class="well">
<form action="" method="post" role="form">
{% bootstrap_form form %}
{% csrf_token %}
<div class="form-group text-center">
<button type="submit" class="btn btn-primary">Submit</button>
<a href="{% url 'password_reset' %}" class="btn btn-warning">Reset your password</a>
<a href="{% if request.GET.prev %}{{ request.GET.prev }}{% else %}{% url 'home' %}{% endif %}" class="btn btn-default">Cancel</a>
</div>
</form>
</div>
</div>
</div>
<div class="row">
<div class="col-md-offset-4 col-md-4">
You do not have an account? Please <a href="{% url 'registration_register' %}">register</a>.
</div>
</div>
{% endblock %}