From 20bdd4175ebb1bf9823b1dd7a427eee212997028 Mon Sep 17 00:00:00 2001 From: Alejandro Sirgo Rica Date: Thu, 27 Jun 2024 10:25:11 +0200 Subject: templates: fix user form alignment Add class="mx-5" to allign the form with the header of the page. --- ogcp/templates/auth/delete_user.html | 3 ++- ogcp/templates/auth/user_form.html | 2 +- 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 @@

{% block subhead_heading %}{% endblock %}

-
+ {{ form.hidden_tag() }}
-- cgit v1.2.3-18-g5258