Scroll completion menu to top when completion list changes.
[lw2-viewer.git] / templates / reset-password.html
blob3d3ff82d80972f07254331c9116c0e493751a964
1 <div class="reset-password-container">
2 <h1>Reset password</h1>
3 <h2>Step 1</h2>
4 {% if message and step == 1 %}<div class="{{ message-type }}-box">{{ message }}</div>{% endif %}
5 <p>Request a password reset link.</p>
6 <p><form method="post">
7 <label for="email">Enter email address:</label>
8 <input type="text" name="email" autocomplete="email">
9 <input type="hidden" name="csrf-token" value="{{ csrf-token }}">
10 <input type="submit" value="Send reset link">
11 </form></p>
12 <h2>Step 2</h2>
13 {% if message and step == 2 %}<div class="{{ message-type }}-box">{{ message }}</div>{% endif %}
14 <p>If your browser is capable of viewing LW 2.0, you can simply follow the instructions in the email.<br>
15 Otherwise, copy the password reset link from the email and paste it below, and choose a new password:</p>
16 <p><form method="post">
17 <div><label for="reset-link">Password reset link:</label><input type="text" name="reset-link" autocomplete="nope" value="{{ reset-link }}"></div>
18 <div><label for="password">New password:</label><input type="password" name="password" autocomplete="new-password"></div>
19 <div><label for="password2">Confirm password:</label><input type="password" name="password2" autocomplete="new-password"></div>
20 <input type="hidden" name="csrf-token" value="{{ csrf-token }}">
21 <div class="action-container"><input type="submit" value="Reset password"></div>
22 </form></p>
23 </div>