{% extends "base.html" %}

{% load django_bootstrap5 %}

{% block headline %}Change your password{% endblock %}

{% block content %}
  <p>Please enter your old and new passwords.</p>
  <form action="" method="post">
    {% csrf_token %}
    {% bootstrap_form form layout="horizontal" %}

    <div class="row row-cols-auto m-3">
      {% bootstrap_button "Change my password" button_type="submit"  %}
      {% url "members:profile" as profile_url %}
      {% bootstrap_button "Cancel" extra_classes="ms-auto" button_type="link" href=profile_url %}
    </div>
  </form>
{% endblock %}
