2018-05-29 19:07:23 +02:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
Set Password
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2018-06-04 19:49:42 +02:00
|
|
|
|
|
|
|
{% if optional %}
|
|
|
|
<div class="box box_grey alert alert-primary">
|
|
|
|
It is recommended that you set a password for your account.
|
|
|
|
|
|
|
|
<a class="alert_right button" href="{{ url_for('home_page') }}">Skip</a>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
2018-05-29 19:07:23 +02:00
|
|
|
<h1>Set Password</h1>
|
|
|
|
|
|
|
|
{% from "macros/forms.html" import render_field, render_submit_field %}
|
|
|
|
<form action="" method="POST" class="form" role="form">
|
2018-06-04 19:49:42 +02:00
|
|
|
{{ form.hidden_tag() }}
|
2018-05-29 19:07:23 +02:00
|
|
|
|
2018-06-04 19:49:42 +02:00
|
|
|
{% if not current_user.email %}
|
|
|
|
{{ render_field(form.email, tabindex=230) }}
|
2018-06-04 19:36:26 +02:00
|
|
|
|
2018-06-04 19:49:42 +02:00
|
|
|
<p>
|
|
|
|
Your email is needed to recover your account if you forget your
|
|
|
|
password, and to optionally send notifications.
|
|
|
|
Your email will never be shared to a third-party.
|
|
|
|
</p>
|
|
|
|
{% endif %}
|
2018-05-29 19:07:23 +02:00
|
|
|
|
2018-06-04 19:49:42 +02:00
|
|
|
{{ render_field(form.password, tabindex=230) }}
|
|
|
|
{{ render_field(form.password2, tabindex=240) }}
|
2018-05-29 19:07:23 +02:00
|
|
|
|
2018-06-04 19:49:42 +02:00
|
|
|
{{ render_submit_field(form.submit, tabindex=280) }}
|
2018-05-29 19:07:23 +02:00
|
|
|
</form>
|
|
|
|
|
|
|
|
{% endblock %}
|