summaryrefslogtreecommitdiffstats
path: root/ogcp/templates
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-06-27 10:25:11 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-06-27 10:25:11 +0200
commit20bdd4175ebb1bf9823b1dd7a427eee212997028 (patch)
treec57db374d6c16a0fbe5caef5079fa5433b868b8d /ogcp/templates
parent5ad2d2e72c8fc02474369fac1d3a39f9b3589368 (diff)
templates: fix user form alignment
Add class="mx-5" to allign the form with the header of the page.
Diffstat (limited to 'ogcp/templates')
-rw-r--r--ogcp/templates/auth/delete_user.html3
-rw-r--r--ogcp/templates/auth/user_form.html2
2 files changed, 3 insertions, 2 deletions
diff --git a/ogcp/templates/auth/delete_user.html b/ogcp/templates/auth/delete_user.html
index 5584a3e..de2cdf0 100644
--- a/ogcp/templates/auth/delete_user.html
+++ b/ogcp/templates/auth/delete_user.html
@@ -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 %}
diff --git a/ogcp/templates/auth/user_form.html b/ogcp/templates/auth/user_form.html
index 1cba9b2..bd2f396 100644
--- a/ogcp/templates/auth/user_form.html
+++ b/ogcp/templates/auth/user_form.html
@@ -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">