{% extends base_template %} {% load i18n static webauthn_tags %} {% block content %}

{% trans "Add a security key or passkey" %}

{% trans "Use a hardware security key, or a passkey built into this device such as Touch ID or Windows Hello." %}

{% comment %}webauthn.js reveals this by setting .hidden = false when the browser has no WebAuthn support. It MUST render with `hidden` set.{% endcomment %} {% if error_message %}

{{ error_message }}

{% endif %} {% comment %}Left empty on purpose: webauthn.js writes ceremony errors here. The stylesheet collapses it while empty so it reserves no space.{% endcomment %} {% webauthn_options_script options "webauthn-options" %}
{% csrf_token %}
{% trans "Optional. Helps you tell your keys apart later." %}
{% trans "Cancel" %}
{% endblock %}