login template: use _form.html
This commit is contained in:
parent
c3c09c1674
commit
7e981a1de9
|
@ -15,15 +15,7 @@
|
|||
<div class="row">
|
||||
<div class="col-md-offset-3 col-md-6">
|
||||
<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>
|
||||
{% include '_form.html' %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue