Skip to content

Commit

Permalink
Class "form-group" instead of "control-group" for field containing div
Browse files Browse the repository at this point in the history
  • Loading branch information
bmidget committed Mar 19, 2014
1 parent a73603e commit d868981
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion views/formo_bootstrap/checkbox_template.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="field control-group formo-<?=$field->get('driver')?><?php if ($error = $field->error()) echo ' error'; ?>" id="field-container-<?=$field->alias()?>">
<div class="field form-group formo-<?=$field->get('driver')?><?php if ($error = $field->error()) echo ' error'; ?>" id="field-container-<?=$field->alias()?>">
<label class="checkbox"><?=$field->open().$field->html().$field->render_opts().$field->close()?> <span class="checkbox-label"><?=$field->label()?></span></label>

<?php if ($msg = $field->error()): ?>
Expand Down
2 changes: 1 addition & 1 deletion views/formo_bootstrap/field_template.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="field control-group formo-<?=$field->get('driver')?><?php if ($error = $field->error()) echo ' error'; ?>" id="field-container-<?=$field->alias()?>">
<div class="field form-group formo-<?=$field->get('driver')?><?php if ($error = $field->error()) echo ' error'; ?>" id="field-container-<?=$field->alias()?>">
<?php if ($title): ?>
<span class="title"><?=$title?></span>
<?php elseif ($label = $field->label()): ?>
Expand Down

0 comments on commit d868981

Please sign in to comment.