field($model, 'status') ->widget(Select2::className(), ( [ 'name' => 'status', 'hideSearch' => true, 'data' => [ 1 => \Yii::t('app', 'Active'), 2 => \Yii::t('app', 'Inactive'), ], 'options' => [ 'placeholder' => \Yii::t('app', 'Select status...') ], 'pluginOptions' => [ 'allowClear' => true, ], ] )) ?> field($model, 'short')->textInput(); ?> $modelLangs, 'formView' => '@artweb/artbox/ecommerce/views/order-payment/_form_language', 'form' => $form, ]) ?>
isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>