{% extends "base.html" %}
{% load recaptcha2 %}
{% load bootstrap4 %}
{% block title %}CBWebReader - Login{% endblock %}
{% block content %}
    {% recaptcha_init %}
<div class="container">
    {% if error %}
        <div class="alert alert-danger" role="alert"><p>Your username and password didn't match. Please try again.</p></div>
    {% endif %}
    <form method="post">
        {% csrf_token %}
        <h2 class="form-signin-heading">Please sign in</h2>
        {% bootstrap_form form %}
        {% buttons %}
        <button class="btn btn-lg btn-secondary btn-block" type="submit">Sign in</button>
        {% endbuttons %}
    </form>
</div>

{% endblock %}