templates: fix user form alignment

Add class="mx-5" to allign the form with the header of the page.
master
Alejandro Sirgo Rica 2024-06-27 10:25:11 +02:00
parent 5ad2d2e72c
commit 20bdd4175e
2 changed files with 3 additions and 2 deletions

View File

@ -12,6 +12,7 @@
{{ wtf.quick_form(form,
action=url_for('user_delete_post'),
method='post',
button_map={'submit_btn':'primary'}) }}
button_map={'submit_btn':'primary'},
extra_classes="mx-5") }}
{% endblock %}

View File

@ -9,7 +9,7 @@
<h2 class="mx-5 subhead-heading">{% block subhead_heading %}{% endblock %}</h2>
<form action="{% block form_action %}{% endblock %}" method="post" class="form">
<form action="{% block form_action %}{% endblock %}" method="post" class="form mx-5">
{{ form.hidden_tag() }}
<div class="form-group">