Skip to content

Commit

Permalink
Conform to bootstrap has-error class
Browse files Browse the repository at this point in the history
  • Loading branch information
bmidget committed Mar 20, 2014
1 parent 6d466b8 commit e3ffa22
Showing 1 changed file with 1 addition and 1 deletion.
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 form-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 ' has-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 e3ffa22

Please sign in to comment.