move login formular to crispy
This commit is contained in:
		@@ -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>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user