add login function
This commit is contained in:
16
billard/templates/registration/login.html
Normal file
16
billard/templates/registration/login.html
Normal file
@@ -0,0 +1,16 @@
|
||||
{% extends 'billard/base.html' %}
|
||||
{% load crispy_forms_tags %}
|
||||
|
||||
{% block title %}Login{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<form action="{% url "login" %}" method="post" accept-charset="utf-8">
|
||||
{% csrf_token %}
|
||||
{{ form|crispy }}
|
||||
<input type="hidden" name="next" value="{{ next }}" />
|
||||
<input class="btn btn-default" type="submit" value="Login" />
|
||||
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
||||
|
Reference in New Issue
Block a user