{% extends 'base.html' %}
{% load allauth i18n %}

{% block head_title %}{% trans "Reauthenticate" %}{% endblock head_title %}

{% block content %}
<div class="container mx-auto max-w-md mt-6">
  <p class="mb-4">{% trans "Enter your password:" %}</p>
  {% url 'account_reauthenticate' as action_url %}
  <form method="post" action="{{ action_url }}" class="space-y-4">
    {% csrf_token %}
    {{ form.non_field_errors }}
    {% for field in form %}
      <div>
        <label for="{{ field.id_for_label }}" class="block font-medium>{{ field.label }}</label>
        {{ field }}
        {{ field.errors }}
      </div>
    {% endfor %}
    {{ redirect_field }}
    <button type="submit" class="btn btn-primary w-full">{% trans "Confirm" %}</button>
  </form>
</div>
{% endblock content %}
