Skip to content
This repository has been archived by the owner on Jul 10, 2020. It is now read-only.

Commit

Permalink
Merge 19f6f77 into 74b5ed6
Browse files Browse the repository at this point in the history
  • Loading branch information
Saeven committed Apr 11, 2015
2 parents 74b5ed6 + 19f6f77 commit 8f76e92
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/TwbBundle/Form/View/Helper/TwbBundleFormRow.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ public function render(ElementInterface $oElement, $labelPosition = null)

$sRowClass = '';

if( ($fgs = $oElement->getOption('twb-form-group-size' )) ) {
$sRowClass = $fgs;
}

//Validation state
if (($sValidationState = $oElement->getOption('validation-state'))) {
$sRowClass .= ' has-' . $sValidationState;
Expand Down

0 comments on commit 8f76e92

Please sign in to comment.