We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f078b3f + 29f30c2 commit 39a8c39Copy full SHA for 39a8c39
bootstrapform/templatetags/bootstrap.py
@@ -64,7 +64,7 @@ def render(element, markup_classes):
64
if element_type == 'boundfield':
65
add_input_classes(element)
66
template = get_template("bootstrapform/field.html")
67
- context = Context({'field': element, 'classes': markup_classes})
+ context = Context({'field': element, 'classes': markup_classes, 'form': element.form})
68
else:
69
has_management = getattr(element, 'management_form', None)
70
if has_management:
0 commit comments