Debian Codegraph @

allauth/templates/mfa/webauthn/edit_form.html

raw
1 {% extends "mfa/webauthn/base.html" %}
2 {% load i18n %}
3 {% load static %}
4 {% load allauth %}
5 {% block content %}
6 {% element h1 %}
7 {% trans "Edit Security Key" %}
8 {% endelement %}
9 {% url 'mfa_edit_webauthn' as action_url %}
10 {% element form form=form method="post" action=action_url %}
11 {% slot body %}
12 {% csrf_token %}
13 {% element fields form=form %}
14 {% endelement %}
15 {% endslot %}
16 {% slot actions %}
17 {% element button id="mfa_webauthn_edit" type="submit" %}
18 {% trans "Save" %}
19 {% endelement %}
20 {% endslot %}
21 {% endelement %}
22 {% endblock %}