{% extends 'app/base.html' %} {% load static %} {% block title %}Password
Reset Complete{% endblock title %} {% block content %}
<div class="container">
  <div class="row my-3">
    <div class="col-sm-6 offset-sm-3">
      <h3>Password Confirm</h3>
      <hr />
      <form action="" method="post" class="shadow p-5">
        {% csrf_token %} {% for fm in form %} {{fm.label_tag}} {{fm}}
        <small class="text-danger">{{fm.errors|striptags}}</small> <br />
        {% endfor %}

        <input type="submit" value="Submit" class="btn btn-primary my-4" />
        <br />

        {% if form.non_field_errors %} {% for err in form.non_fileld_errors %}
        <p class="alert alert-danger my-3">{{err}}</p>
        {% endfor %} {% else %} {% endif %}
      </form>
    </div>
  </div>
</div>
{% endblock content %}
