{% extends "base.htm" %}
{% from 'bs_page_header.htm' import bs_page_header with context %}

{% block main %}
{{ bs_page_header(page_context.get_view_title()) }}

{% if request.user.is_authenticated %}
    {% include "already_logged_in.htm" %}
{% endif %}

<div class="alert alert-warning vmargin">
    {{ _("Forgotten your password? Enter your e-mail address below, and we'll send you an e-mail allowing you to reset it.") }}
</div>

<form role="form" method="POST" action="{{ tpl.url('account_reset_password') }}" class="password_reset">
    {{ render_form(request, 'body', form) }}
    <input class="btn btn-primary" type="submit" value="{{ _('Reset My Password') }}" />
</form>

<div class="alert alert-info vmargin">
    {{ _('Please contact us if you have any trouble resetting your password.') }}
</div>

{% endblock main %}
