{% extends "sentry/bases/modal.html" %}

{% load crispy_forms_tags %}
{% load i18n %}

{% block title %}{% trans "Recover Account" %} | {{ block.super }}{% endblock %}

{% block main %}
    <section class="body">
        <div class="page-header">
            <h2>{% trans "Recover Account" %}</h2>
        </div>
        <p>{% blocktrans %}To recover a lost account, you will need to know your account's username. We will send a confirmation
            email to this address which allows you to change your password.{% endblocktrans %}</p>

        <form class="form-stacked" action="" method="post">
            {% csrf_token %}

            {{ form|as_crispy_errors }}

            {% for field in form %}
                {{ field|as_crispy_field }}
            {% endfor %}

            <fieldset class="form-actions">
                <button type="submit" class="btn btn-primary">{% trans "Send Email" %}</button>
            </fieldset>
        </form>
    </section>
{% endblock %}

{% extends "sentry/bases/modal.html" %}

{% load crispy_forms_tags %}
{% load i18n %}

{% block wrapperclass %}windowed-small{% endblock %}

{% block title %}{% trans "Recover Account" %} | {{ block.super }}{% endblock %}

{% block account_nav %}{% endblock%}

{% block main %}
  <section class="body org-login" style="padding: 40px">
    <h2>{% trans "Recover Account" %}</h2>
    <p>{% blocktrans %}To recover a lost account, you will need to know your account's username. We will send a confirmation
        email to this address which allows you to change your password.{% endblocktrans %}</p>

    <form class="form-stacked" action="" method="post">
      {% csrf_token %}

      {{ form|as_crispy_errors }}

      {% for field in form %}
          {{ field|as_crispy_field }}
      {% endfor %}

      <fieldset class="form-actions">
          <button type="submit" class="btn btn-primary">{% trans "Send Email" %}</button>
      </fieldset>
    </form>
  </section>
{% endblock %}

{% block footer %}
{% endblock %}

Switch lost password to small modal
Switch lost password to small modal
