{% extends "base.html" %}
{% block content %}

    <div class="card">

        <h2>Set Password</h2>

        {% if expired %}
            <p>Link expired or invalid.</p>
        {% else %}
            <form method="post">
                <input type="password" name="password" placeholder="New password" required>
                <input type="password" name="password2" placeholder="Confirm password" required>
                <button class="btn btn-primary">Save</button>
            </form>
        {% endif %}

    </div>

{% endblock %}