1
0
Fork 0
satnogs-network/network/templates/account/password_reset.html

35 lines
850 B
HTML

{% extends "account/base.html" %}
{% load account %}
{% load crispy_forms_tags %}
{% block head_title %} - Password Reset{% endblock %}
{% block content %}
<div class="row">
<div class="col-md-5">
<h2>Password Reset</h2>
{% if user.is_authenticated %}
{% include "account/snippets/already_logged_in.html" %}
{% endif %}
<p>
Forgotten your password? Enter your e-mail address below,
and we'll send you an e-mail allowing you to reset it.
</p>
<form method="POST" action="./" class="password_reset">{% csrf_token %}
{{ form|crispy }}
<button class="btn btn-primary" type="submit">Reset</button>
</form>
</div>
</div>
{% endblock %}
{% block javascript %}
{{ block.super }}
<script>
$("#id_email").focus();
</script>
{% endblock javascript %}