Skip to content

Commit

Permalink
Merge pull request #63 from AndyGaskell/patch-5
Browse files Browse the repository at this point in the history
Gives each input group a class that can be styled
  • Loading branch information
graredcr committed Nov 8, 2016
2 parents 0fad1bf + d3c4480 commit 6c4038e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/helpers/fieldsattach.php
Expand Up @@ -1173,7 +1173,7 @@ function getinputfields($id, $fields, $backend, $fontend, $backendcategory, $exi

eval("\$tmp=". $function."");

$str .= '<div class="control-group"><label class="control-label" for="field_'.$field->id.'">' . $field->title;
$str .= '<div class="control-group cid_'.$field->id.'"><label class="control-label" for="field_'.$field->id.'">' . $field->title;
if($field->required) {$str .= ' <span>(*)</span>';}
$str .= '</label>';
$str .= '<div class="controls">'.$tmp. '</div>';
Expand Down

0 comments on commit 6c4038e

Please sign in to comment.