       </li>
            </ul>
        </form>
    {% else %}
        <h1>{% trans "Invalid password reset link" %}</h1>
        <div class="messages">
            <ul>
                <li class="error">
                    {% trans "The password reset link was invalid, possibly because it has already been used." %}
                </li>
            </ul>
        </div>
        <a href="{% url 'wagtailadmin_password_reset' %}" class="button">{% trans 'Request a new password reset' %}</a>
    {% endif %}

  