2017-01-18 02:25:12 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
2017-01-19 18:42:11 +01:00
|
|
|
{% load crispy_forms_tags %}
|
|
|
|
|
2017-01-18 02:25:12 +01:00
|
|
|
{% block content %}
|
|
|
|
<div class="row">
|
2017-01-19 18:42:11 +01:00
|
|
|
<div class="col-sm-4 col-sm-offset-4">
|
2017-01-20 17:29:21 +01:00
|
|
|
<!-- <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>
|
2017-01-19 18:42:11 +01:00
|
|
|
|
2017-01-23 00:10:55 +01:00
|
|
|
<form action="{% url "login" %}" method="post">
|
2017-01-20 17:29:21 +01:00
|
|
|
{% csrf_token %}
|
|
|
|
{{ form|crispy }}
|
2017-01-18 02:25:12 +01:00
|
|
|
|
2017-01-20 17:29:21 +01:00
|
|
|
<button type="submit" class="btn btn-primary" value="Login">Login</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-01-18 02:25:12 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|
|
|