field($model, 'name') ->textInput([ 'maxlength' => true ]) ?> field($model, 'secondname') ->textInput([ 'maxlength' => true ]) ?> field($model, 'email') ->textInput([ 'maxlength' => true ]) ?> field($model, 'phone') ->textInput([ 'maxlength' => true ]) ?> field($model, 'status')->widget( Select2::classname(), [ 'data' => $model->getStatuses(), 'pluginOptions' => [ 'allowClear' => true, ], ] ); ?>
isNewRecord ? Yii::t('core', 'Create') : Yii::t('core', 'Update'), [ 'class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary' ] ) ?>