{% extends "base.html" %}

{% load i18n %}
{% load account_tags %}

{% block title %}{% trans "Password reset sent" %}{% endblock %}

{% block content %}
<div class="uk-flex uk-flex-center uk-margin-top">

  <div class="uk-card uk-card-default uk-card-body">
    <h3>{% trans "Password reset sent" %}</h3>
    {% if not resend %}
      <p>{% blocktrans %}We have sent you an email. If you do not receive it within a few minutes, try resending or contact us at <a href="mailto:support@procatalog.io">support@procatalog.io</a>{% endblocktrans %}</p>
        
      <div class="row">
        <div class="col-md-5">
          <form method="POST" action="{% url "account_password_reset" %}">
            {% csrf_token %}
            {% for field in form %}
              {{ field.as_hidden }}
            {% endfor %}
            <button type="submit" name="resend" class="uk-button uk-button-primary">{% trans "Resend" %}</button>
          </form>
        </div>
      </div>
    {% else %}
      <p>{% blocktrans %}We have resent the password email. If you do not receive it within a few minutes, contact us at <a href="mailto:support@procatalog.io">support@procatalog.io</a>{% endblocktrans %}</p>
    {% endif %}
  </div>
</div>
{% endblock %}
