Skip to content
Browse files

added label_id as an id to div control group

  • Loading branch information...
1 parent 724354b commit d6554fd85c055e0a4c1ee8387235ba8a7f413bcd Nai Chng committed Apr 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bootstrap/templates/bootstrap/field_default.html
View
2 bootstrap/templates/bootstrap/field_default.html
@@ -1,4 +1,4 @@
-<div class="control-group{% if errors %} error{% endif %}">
+<div id="div_{{ label_id }}" class="control-group{% if errors %} error{% endif %}">
<label class="control-label" for="{{ label_id }}">{{ label }}</label>
<div class="controls">
{{ bf }}

0 comments on commit d6554fd

Please sign in to comment.
Something went wrong with that request. Please try again.