full width buttons

This commit is contained in:
Matthias 2021-11-01 23:07:39 +01:00
parent 0011c7ee62
commit 024a9deab4
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076
2 changed files with 3 additions and 3 deletions

View File

@ -22,12 +22,12 @@
<form method="post"> <form method="post">
{% csrf_token %} {% csrf_token %}
<button type="submit" class="btn btn-primary"> <button type="submit" class="btn btn-primary w-100">
{% trans 'Generate backup tokens' %} {% trans 'Generate backup tokens' %}
</button> </button>
</form> </form>
<br> <br>
<a href="{% url 'two-factor-remove' %}" class="btn btn-warning">Disable Two Factor</a> <a href="{% url 'two-factor-remove' %}" class="btn btn-warning w-100">Disable Two Factor</a>
{% endblock %} {% endblock %}

View File

@ -31,7 +31,7 @@
{% csrf_token %} {% csrf_token %}
{{ form|crispy }} {{ form|crispy }}
<button type="submit" class="btn btn-primary btn-block"> <button type="submit" class="btn btn-primary btn-block w-100">
{% trans 'Verify' %} {% trans 'Verify' %}
</button> </button>
</form> </form>