Improves inline-formset display

This commit is contained in:
Yoann Ono Dit Biot 2014-03-27 17:16:36 +01:00
parent 305f142c87
commit 7cc9c5a4f7

View File

@ -2,6 +2,14 @@
{% for form in formset %} {% 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 %} {% endfor %}