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.
1 parent 5dce970 commit 29f30c2Copy full SHA for 29f30c2
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