moved formset.html to correct folder and deleted print statement

This commit is contained in:
Mauro Bianchi
2012-07-19 15:55:07 +02:00
parent 2b7ef49259
commit 205d22561f
2 changed files with 0 additions and 6 deletions

View File

@@ -13,7 +13,6 @@ def bootstrap(element):
context = Context({'field': element})
else:
has_management = getattr(element, 'management_form', None)
print "has management", has_management
if has_management:
template = get_template("bootstrapform/formset.html")
context = Context({'formset': element})

View File

@@ -1,5 +0,0 @@
{{ formset.management_form }}
{% for form in formset %}
{% include "bootstrapform/form.html" with form=form %}
{% endfor %}