{% extends "allauth/layouts/entrance.html" %}
{% load i18n allauth %}
{% comment %}
Wagtail's prompt for a password-protected page (WAGTAIL_PASSWORD_REQUIRED_TEMPLATE), in the
auth pages' frame and elements. The password belongs to the page, not to an account, so
being logged in changes nothing here.
{% endcomment %}
{% block head_title %}
{% trans "Password required" context "page access" %}
{% endblock head_title %}
{% block content %}
{% element h1 %}
{% trans "Password required" context "page access" %}
{% endelement %}
{% element p %}
{% trans "This page is protected by a password. Enter it to continue." %}
{% endelement %}
{% element form method="post" action=action_url %}
{% slot body %}
{% csrf_token %}
{% element fields form=form %}
{% endelement %}
{% endslot %}
{% slot actions %}
{% element button type="submit" %}
{% trans "Continue" %}
{% endelement %}
{% endslot %}
{% endelement %}
{% endblock content %}