move login formular to crispy

This commit is contained in:
reinsle committed 2018-02-11 08:12:47 +01:00
1 parent 335e8ca4ff
commit e7dd1aa01a
2 files changed
+3 -27

No files matched your search

+3 -1
View File
@@ -1,5 +1,7 @@
{% extends '_base_accounts.html' %}
{% load crispy_forms_tags %}
{% block title %}login{% endblock %}
{% block content %}
@@ -11,7 +13,7 @@
<form method="post" novalidate>
{% csrf_token %}
<input type="hidden" name="next" value="{{ next }}">
{% include 'includes/form.html' %}
{{ form|crispy }}
<button type="submit" class="btn btn-primary btn-block">Log in</button>
</form>
</div>