From 45af740c1f3b012399fe00df9cdac9d8257913f3 Mon Sep 17 00:00:00 2001 From: "Jose M. Guisado" Date: Wed, 24 Feb 2021 12:21:21 +0100 Subject: Cosmetic enhacements * Use validate_ips and flashed messages for some more actions. * Use extra_classes in quick_form macro to add bootstrap classes to rendered forms --- ogcp/templates/actions/image_restore.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ogcp/templates/actions/image_restore.html') diff --git a/ogcp/templates/actions/image_restore.html b/ogcp/templates/actions/image_restore.html index bbc760a..cf50b43 100644 --- a/ogcp/templates/actions/image_restore.html +++ b/ogcp/templates/actions/image_restore.html @@ -6,6 +6,8 @@ {{ wtf.quick_form(form, action=url_for('action_image_restore'), method='post', - button_map={'restore': 'primary'}) }} + button_map={'restore': 'primary'}, + extra_classes='m-5') }} + {% endblock %} -- cgit v1.2.3-18-g5258