25 lines
1.6 KiB
Plaintext
25 lines
1.6 KiB
Plaintext
{%- extends "nav" -%}
|
|
{%- block card %}
|
|
<!-- CHANGE PASSWORD FORM -->
|
|
<div class="card center">
|
|
<form id="changePassword" class="center" action="/settings/admin/change_password" method="post">
|
|
<div style="display: flex; flex-direction: column; margin-bottom: 1rem;">
|
|
<!-- input for current password -->
|
|
<label for="currentPassword" class="center label-small font-gray" style="width: 80%;">CURRENT PASSWORD</label>
|
|
<input id="currentPassword" class="center input" name="current_password" type="password" title="Current password" autofocus>
|
|
<!-- input for new password -->
|
|
<label for="newPassword" class="center label-small font-gray" style="width: 80%;">NEW PASSWORD</label>
|
|
<input id="newPassword" class="center input" name="new_password1" type="password" title="New password">
|
|
<!-- input for duplicate new password -->
|
|
<label for="newPasswordDuplicate" class="center label-small font-gray" style="width: 80%;">RE-ENTER NEW PASSWORD</label>
|
|
<input id="newPasswordDuplicate" class="center input" name="new_password2" type="password" title="New password duplicate">
|
|
<!-- save (form submission) button -->
|
|
<input id="savePassword" class="button button-primary center" title="Add" type="submit" value="Save">
|
|
<a class="button button-secondary center" href="/settings/admin" title="Cancel">Cancel</a>
|
|
</div>
|
|
</form>
|
|
<!-- FLASH MESSAGE -->
|
|
{% include "snippets/flash_message" %}
|
|
</div>
|
|
{%- endblock card -%}
|