{% extends "allauth/layouts/entrance.html" %}
{% load i18n %}

{% block title %}Gobii{% endblock %}

{% block body_inner %}
<div class="bg-white max-w-md w-full sm:border sm:border-gray-200 sm:rounded-xl sm:shadow-2xs">
  <div class="p-8">
    {% if can_continue %}
      <form method="post" action="{% url 'account_reset_password_bridge_continue' %}" class="space-y-4">
        {% csrf_token %}

        <button type="submit"
                class="w-full rounded-lg bg-blue-600 py-3 text-sm font-medium text-white hover:bg-blue-700">
          {% trans "Continue to Reset Password" %}
        </button>
      </form>
    {% else %}
      {% url 'account_reset_password' as passwd_reset_url %}
      <p class="mt-4 text-center text-sm text-red-600">
        {% blocktrans %}This password reset link is no longer available. Please request a <a href="{{ passwd_reset_url }}" class="font-medium text-blue-600 hover:text-blue-500">new password reset</a>.{% endblocktrans %}
      </p>
    {% endif %}

    <p class="mt-4 text-center text-sm">
      <a href="{% url 'account_login' %}" class="text-blue-600 hover:underline">{% trans "Back to Sign In" %}</a>
    </p>
  </div>
</div>
{% endblock %}
