mirror of https://git.48k.eu/ogcp
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
parent
45af740c1f
commit
149dfdcbfd
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue