{% extends "base.html" %}

{% load django_bootstrap5 %}

{% block headline %}Lost your password?{% endblock %}

{% block content %}
  <form action="" method="post">
  {% csrf_token %}

  <p>
    Please enter your registered email to reset your password and get your
    username sent via mail.
  </p>
  {% bootstrap_form_errors form %}
  {% bootstrap_form form layout="inline" %}

  {% bootstrap_button "OK" button_type="submit"  %}
  {% url "login" as login_url %}
  {% bootstrap_button content="Cancel" extra_classes="ms-auto" button_type="link" href=login_url %}
  </form>
{% endblock %}
