{% load ajax_helpers modal_tags %}
Passkeys
{% if not webauthn %}

No passkeys registered

{% else %} {% for w in webauthn %} {% endfor %}
Name Added Last used
{{ w }} {{ w.created_on|date }} {{ w.last_used_on|date }} {% modal_button_method 'Rename' 'rename_webauthn' id=w.id css_class='btn btn-sm btn-outline-secondary' %} {% modal_button_method 'Remove' 'remove_webauthn' id=w.id css_class='btn btn-sm btn-outline-warning' %}
{% endif %}