{% extends '../base.html' %}
{% load crispy_forms_tags %}

{% block title %}Login{% endblock %}

{% block content %}
    <h2>Login</h2>
    <form method="post">
        {% csrf_token %}
        {{ form | crispy }}
        <button type="submit">Login</button>
    </form>
    Forgotten your password? <a href="{% url 'password_reset' %}">Reset it here.</a></p>
    {% if request.user.is_staff %}
        <p><a href="{% url 'password_change' %}">Change password</a></p>
    {% endif %}

    <p>This page is for user account logins. If you have a CID / Passcode <a href="{% url 'cid_selector' %}">click here</a>
{% endblock %}


{% block css %}
    <style>
        .asteriskField {
            display: none;
        }
    </style>
{% endblock css %}
