1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<?php use common\models\Settings; use yii\bootstrap\ActiveForm; use yii\web\View; /** * @var View $this * @var Settings $model * @var ActiveForm $form */ echo $form->field($model, 'facebook') ->textInput(); echo $form->field($model, 'google') ->textInput(); echo $form->field($model, 'twitter') ->textInput();