Merge pull request #20 from bianchimro/master

Moved template for formset and removed print statement
This commit is contained in:
tzangms
2012-07-19 19:28:02 -07:00
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 %}