29 lines
1.2 KiB
HTML
29 lines
1.2 KiB
HTML
{% extends "admin/components/input-forms.html" %}
|
|
|
|
{% block content %}
|
|
<div class="form-container">
|
|
<form name="form-update-password" class="form-display form-post" action="{{ url_for(request.endpoint, **request.view_args) }}" data-rel-success="{{ url_for('admin_auth.login') }}">
|
|
{% include "admin/components/server-alerts.html" %}
|
|
<h2 class="form-heading">Update Password</h2>
|
|
{{ form.hidden_tag() }}
|
|
<div class="form-label-group">
|
|
{{ form.password(class_="form-control", placeholder="Password") }}
|
|
{{ form.password.label }}
|
|
{{ form.password.errors[0] }}
|
|
</div>
|
|
<div class="form-label-group">
|
|
{{ form.password_reenter(class_="form-control", placeholder="Password") }}
|
|
{{ form.password_reenter.label }}
|
|
{{ form.password_reenter.errors[0] }}
|
|
</div>
|
|
{% include "admin/components/client-alerts.html" %}
|
|
<div class="container form-submission-button">
|
|
<div class="row">
|
|
<div class="col text-center">
|
|
<button class="btn btn-md btn-success btn-block" type="submit">Update Password</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
{% endblock %} |