aboutsummaryrefslogtreecommitdiff
path: root/app/templates/users/set_password.html
blob: 2d520212d9b24e958cae465be8ef2f4cd501c41f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{% extends "base.html" %}

{% block title %}
	Set Password
{% endblock %}

{% block content %}

{% if optional %}
	<div class="alert alert-primary">
		It is recommended that you set a password for your account.

		<a class="alert_right button" href="{{ url_for('homepage.home') }}">Skip</a>
	</div>
{% endif %}


<h1>Set Password</h1>

{% from "macros/forms.html" import render_field, render_submit_field %}
<form action="" method="POST" class="form" role="form">
	{{ form.hidden_tag() }}

	{% if not current_user.email %}
		{{ render_field(form.email, tabindex=230) }}

		<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 %}

	{{ render_field(form.password, tabindex=230) }}
	{{ render_field(form.password2, tabindex=240) }}

	{{ render_submit_field(form.submit, tabindex=280) }}
</form>

{% endblock %}