Ejemplo n.º 1
0
$form = ActiveForm::begin(['id' => 'login-form', 'layout' => 'stacked', 'field_width' => 'large', 'field_size' => 'large']);
?>
                    
    <?php 
echo $form->field($model, 'title')->textInput();
?>

    <?php 
echo $form->field($model, 'name')->textInput();
?>

    <?php 
echo $form->field($model, 'model_table_name')->textInput();
?>

    <?php 
echo $form->field($model, 'example')->dropDownList($model->examples);
?>

                 
    <div class="uk-form-row">
        <?php 
echo Html::submitButton(Yii::t('backend', 'Сохранить'), ['class' => 'uk-button uk-button-success uk-button-large']);
?>
    </div>

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

</div>