summaryrefslogtreecommitdiffstats
path: root/ogcp/templates
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2021-03-03 13:05:19 +0100
committerJose M. Guisado <jguisado@soleta.eu>2021-03-05 11:43:05 +0100
commit149dfdcbfd31bae79e9872e6f465d127d70ad32b (patch)
treeb70a4bbab3993d36d319a21db957f0a6b2ce74b1 /ogcp/templates
parent45af740c1f3b012399fe00df9cdac9d8257913f3 (diff)
Make partition forms inline in setup/
quick_form macro from Flask-Bootstrap creates vertical forms by default, this rendered each partition spanning too much vertical space. Use form_type='inline' from quick_form macro to compact the whole setup form.
Diffstat (limited to 'ogcp/templates')
-rw-r--r--ogcp/templates/actions/setup.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/ogcp/templates/actions/setup.html b/ogcp/templates/actions/setup.html
index c7c4345..cc26804 100644
--- a/ogcp/templates/actions/setup.html
+++ b/ogcp/templates/actions/setup.html
@@ -4,10 +4,14 @@
{% block content %}
{% for form in forms %}
+
{{ wtf.quick_form(form,
method='post',
+ form_type='inline',
+ extra_classes='m-2 p-2',
button_map={'modify': 'primary',
'delete': 'danger'}) }}
+
{% endfor %}
{% endblock %}