Improves inline-formset display
This commit is contained in:
parent
305f142c87
commit
7cc9c5a4f7
@ -2,6 +2,14 @@
|
||||
|
||||
{% for form in formset %}
|
||||
|
||||
{% include "bootstrapform/form.html" with form=form %}
|
||||
{% if classes.label == 'sr-only' %}
|
||||
<div class="form-inline">
|
||||
{% endif %}
|
||||
|
||||
{% include "bootstrapform/form.html" with form=form %}
|
||||
|
||||
{% if classes.label == 'sr-only' %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user