Merge pull request #50 from y0no/master
Improves inline-formset display
This commit is contained in:
commit
5dce970179
@ -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