move login formular to crispy

This commit is contained in:
2018-02-11 08:12:08 +01:00
parent 335e8ca4ff
commit e7dd1aa01a
2 changed files with 3 additions and 27 deletions

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>