mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
crispyfy
This commit is contained in:
parent
3cb2078821
commit
6404764025
@ -1,10 +1,10 @@
|
|||||||
{% extends "account/base.html" %}
|
{% extends "account/base.html" %}
|
||||||
{% load i18n %}
|
{% load i18n crispy_forms_tags %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>
|
<h3>
|
||||||
{% trans "Setup Two-Factor Authentication" %}
|
{% trans "Setup Two-Factor Authentication" %}
|
||||||
</h1>
|
</h3>
|
||||||
|
|
||||||
<h4>
|
<h4>
|
||||||
{% trans 'Step 1' %}:
|
{% trans 'Step 1' %}:
|
||||||
@ -26,10 +26,9 @@
|
|||||||
|
|
||||||
<form method="post">
|
<form method="post">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{{ form.non_field_errors }}
|
{{ form|crispy }}
|
||||||
{{ form.token.label }}: {{ form.token }}
|
|
||||||
|
|
||||||
<button type="submit">
|
<button type="submit" class="btn btn-primary btn-block">
|
||||||
{% trans 'Verify' %}
|
{% trans 'Verify' %}
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
|
Loading…
Reference in New Issue
Block a user