django-refunds/authentication/templates/authentication/login.html

18 lines
545 B
HTML

{% extends 'base.html' %}
{% load staticfiles %}
{% load crispy_forms_filters %}
{% block content %}
<h1>{% block title %}Login{% endblock %}</h1>
<div id="login">
<form name="LoginForm" action="{% url 'auth_login' %}" method="post">
{% if next %}
<input type="hidden" name="next" value="{{ next }}"/>
{% endif %}
{% csrf_token %}
{{ form|crispy }}
<button type="submit" class="btn btn-primary">Login</button>
</form>
</div>
{% endblock %}