Merge pull request #50 from y0no/master

Improves inline-formset display
This commit is contained in:
tzangms 2014-04-17 08:58:21 +08:00
commit 5dce970179

View File

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