{% extends "app.html" %} {% from "library.j2" import showuri, standard_button, custom_form_button %} {% block head_lead %} {{ super() }} {% include "copy-snippet.html" %} {% endblock %} {% block content %}

{% trans %}Password reset{% endtrans %}

{{- form.csrf_token -}}

{% trans user_name=target_user.localpart %}Password reset link for {{ user_name }}{% endtrans %}

{% trans %}The following link will allow the user to reset their password on their device, once.{% endtrans %}

{% trans %}Valid until{% endtrans %}
{{ reset_link.expires | format_date }}
{% trans %}Link{% endtrans %}
{% call showuri(reset_link.landing_page) %}{% endcall %}
{%- call custom_form_button("remove_link", form.action_revoke.name, reset_link.id_, class="secondary danger") -%} {% trans %}Destroy link{% endtrans %} {%- endcall -%} {%- call standard_button("back", url_for(".users"), class="primary") -%} {% trans %}Back{% endtrans %} {%- endcall -%}
{% endblock %}