
{% extends "layout.html" %}
{% block content %}
    <div class="row mt-5 justify-content-center">
        <div class="col-sm-12 col-md-6 col-lg-4">
            <h3 class="text-center">Admin Password Reset</h3>
            <p class="text-center">Please enter a new password for the admin account.</p>
            <form action="" method="post">
                {% if context.error %}
                    <div class="text-danger text-center p-4">
                        {{ context.error }}
                    </div>
                {% endif %}
                <div class="mb-3">
                    <input type="password" class="form-control" id="password" name="password" placeholder="Password">
                </div>
                <div class="mb-3">
                    <input type="password" class="form-control" id="password_confirm" name="password_confirm" placeholder="Confirm Password">
                </div>
                <div class="text-center">
                    <button type="submit" class="btn btn-lg btn-primary w-100">Save</button>
                </div>
            </form>
        </div>
    </div>
{% endblock %}
