Skip to content

Commit bbbb8a8

Browse files
committed
Add a div.control-group to the list
Add a div.control-group to the list of JavaScript elements to support bootstrap style forms.
1 parent 27838f6 commit bbbb8a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_secureform/forms/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
JQUERY_TAG = '<script type="text/javascript" src="http://code.jquery.com/jquery-1.7.2.min.js"></script>'
2525
SCRIPT_TAG = '''<script type="text/javascript">
2626
function %(function)s(n)
27-
{$('p'+','+'li,'+'tr')
27+
{$('p'+','+'li,'+'tr'+',div.control-group')
2828
.has('input[id="id_' + n + '"]')
2929
.remove();}%(obfuscated)s
3030
</script>'''

0 commit comments

Comments
 (0)