cqtu/templates/registration/login.html

31 lines
713 B
HTML

{% extends "base.html" %}
{% load crispy_forms_tags %}
{% block content %}
<div class="row">
<div class="col-sm-4 col-sm-offset-4">
<!-- <h2 class="text-center">Please login</h2> -->
<div class="panel panel-primary">
<div class="panel-heading">Login</div>
<div class="panel-body">
<p>
Don't have an account? <a href="{% url 'register' %}">Register here!</a>
</p>
<p>
Trouble logging in? Remember that your call is all upper-case.
</p>
<form action="{% url "login" %}" method="post">
{% csrf_token %}
{{ form|crispy }}
<button type="submit" class="btn btn-primary" value="Login">Login</button>
</form>
</div>
</div>
</div>
</div>
{% endblock %}