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.
multi-ogserver
Jose M. Guisado 2021-03-03 13:05:19 +01:00
parent 45af740c1f
commit 149dfdcbfd
1 changed files with 4 additions and 0 deletions

View File

@ -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 %}