Created
July 14, 2012 23:48
-
-
Save Asgaroth/3113919 to your computer and use it in GitHub Desktop.
Yii Foundation 3 Form Horizontal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php $form=$this->beginWidget('foundation.widgets.FounActiveForm'); ?> | |
<div class="row"> | |
<div class="two mobile-one columns"> | |
<?php echo $form->labelEx( $model, "field3", array("class" => 'right')); ?> | |
</div> | |
<div class="ten mobile-three columns"> | |
<?php echo $form->textField( $model, "field3", array("placeholder" => "e.g. Home", "class" => 'eight')); ?> | |
</div> | |
</div> | |
<div class="row"> | |
<div class="two mobile-one columns"> | |
<?php echo $form->labelEx( $model, "field4", array("class" => 'right')); ?> | |
</div> | |
<div class="ten mobile-three columns"> | |
<?php echo $form->textField( $model, "field4", array("class" => 'eight')); ?> | |
</div> | |
</div> | |
<div class="row"> | |
<div class="two mobile-one columns"> | |
<?php echo $form->labelEx( $model, "field5", array("class" => 'right')); ?> | |
</div> | |
<div class="ten mobile-three columns"> | |
<?php echo $form->textField( $model, "field4", array("class" => 'three')); ?> | |
</div> | |
</div> | |
<?php $this->endWidget(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment