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 | |
/** | |
* @var FounActiveForm | |
*/ | |
$form=$this->beginWidget('foundation.widgets.FounActiveForm', array( | |
'id'=>'form', | |
)); ?> | |
//form Fields |
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 | |
/** | |
* @var FounActiveForm | |
*/ | |
$form=$this->beginWidget('foundation.widgets.FounActiveForm'); ?> | |
?> | |
<?php echo $form->textFieldRow($model, "field1", array("placeholder" => "Standard Input")); ?> | |
<?php echo $form->textFieldRow($model, "field1_1", array("placeholder" => "Street")); ?> | |
<div class="row"> | |
<div class="six columns"> |
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"> |
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
<fieldset> | |
<legend>Fieldset Name</legend> | |
<?php echo $form->textFieldRow($model, "field6", array('placeholder' => 'Standard Input')); ?> | |
<?php echo $form->textFieldRow($model, "field7"); ?> | |
<?php echo $form->textField($model, "field8", array('class' => 'six')); ?> | |
</fieldset> |
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
<div class="row"> | |
<div class="four columns"> | |
<?php echo $form->textFieldRow($model, "field9", array('prefix' => '#')); ?> | |
</div> | |
</div> |
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
<div class="row"> | |
<div class="five columns"> | |
<?php echo $form->textFieldRow($model, "field10", array('postfix' => '.com', | |
'postfixOptions' => array( | |
'size' => 3, | |
))); ?> | |
</div> | |
</div> |
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
<div class="row"> | |
<div class="five columns"> | |
<?php echo $form->textFieldRow($model, "field11", array( | |
'postfix' => '<a href="#" class="postfix button">Search</a>', | |
'postfixOptions' => array( | |
'size' => 4, | |
'type' => 'raw' | |
))); ?> | |
</div> | |
</div> |
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
<div class="row"> | |
<div class="five columns"> | |
<?php echo $form->textFieldRow($model, "field12"); ?> | |
</div> | |
<div class="five columns end"> | |
<?php echo $form->textFieldRow($model, "field13"); ?> | |
</div> | |
</div> |
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'); ?> | |
<fieldset> | |
<legend>Large Form Example</legend> | |
<div class="row"> | |
<div class="five columns"> | |
<?php echo $form->textFieldRow($model, "field14"); ?> | |
<?php echo $form->textFieldRow($model, "field15"); ?> | |
<?php echo $form->textFieldRow($model, "field16", array('prefix' => '@', 'placeholder' => 'asgarothbelem')); ?> | |
<?php echo $form->textFieldRow($model, "field17", array( | |
'postfix' => '.com', |
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', array( | |
"type" => 'custom' | |
)); ?> | |
<?php $this->endWidget(); ?> |
OlderNewer