Exemplo n.º 1
0
            <?php 
echo $form->field($model, 'label');
?>

            <?php 
echo $form->field($model, 'description');
?>
        </div>

        <div class="entry">
            <?php 
echo $form->field($model, 'return_type')->dropDownList(Lookup::returnTypeOptions(), ['prompt' => '']);
?>

            <?php 
echo $form->field($model, 'enabled')->dropDownList(Option::booleanOptions(), ['prompt' => '']);
?>
        </div>

        <div class="form-group buttons">
            <?php 
echo Html::submitButton(Yii::t('app', 'Search'), ['class' => 'btn btn-primary']);
?>
            <?php 
echo Html::resetButton(Yii::t('app', 'Reset'), ['class' => 'btn btn-default']);
?>
        </div>

        <?php 
ActiveForm::end();
?>