forked from Ugric/Komodo-Hub
27 lines
884 B
Django/Jinja
27 lines
884 B
Django/Jinja
{% extends "base.jinja" %}
|
|
{% block title %} Password Reset {% endblock %}
|
|
{% block head %}
|
|
{% endblock %}
|
|
{% block content %}
|
|
{% from 'button.jinja' import button %}
|
|
<section id="hero" class="form">
|
|
<form action="{{ url_for('login.password_reset_request') }}" class="container" method="POST">
|
|
{% if message %}
|
|
<p class="form-success">{{ message }}</p>
|
|
{% endif %}
|
|
{% if reset_link %}
|
|
<p class="form-info">
|
|
Reset link: <a style="word-break: break-all;" href="{{ reset_link }}">{{ reset_link }}</a>
|
|
</p>
|
|
{% endif %}
|
|
<div class="form-group">
|
|
<label for="email">Email:</label>
|
|
<input type="email" id="email" name="email" required>
|
|
</div>
|
|
<button type="submit" class="submit-button">
|
|
Send Reset Link
|
|
</button>
|
|
</form>
|
|
</section>
|
|
{% endblock %}
|