You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
932 B
22 lines
932 B
{% extends "layout.html" %}
|
|
{% from "_macros.html" import render_field_with_label, render_field %}
|
|
|
|
{% block title %}Reset Password - packetcrypt{% endblock %}
|
|
{% block flash %}
|
|
{% for field in reset_password_form.errors %}
|
|
{% for error in reset_password_form.errors[field] %}
|
|
<div class="uk-alert uk-alert-danger" data-uk-alert><a href="" class="uk-alert-close uk-close"></a>{{ field }}: {{ error }}</div>
|
|
{% endfor %}
|
|
{% endfor %}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<div id="form-container" class="uk-width-1-4 uk-panel uk-panel-box uk-container-center">
|
|
<form action="{{ url_for_security('reset_password') }}" method="POST" name="reset_password_form" class="uk-form">
|
|
{{ reset_password_form.hidden_tag() }}
|
|
{{ render_field_with_label(reset_password_form.password) }}
|
|
{{ render_field_with_label(reset_password_form.password_confirm) }}
|
|
{{ render_field(reset_password_form.submit) }}
|
|
</form>
|
|
</div>
|
|
{% endblock %}
|