diff --git a/frontend/views/site/signup.php b/frontend/views/site/signup.php index 03f8ebd..311955c 100755 --- a/frontend/views/site/signup.php +++ b/frontend/views/site/signup.php @@ -3,8 +3,9 @@ /* @var $this yii\web\View */ /* @var $form yii\bootstrap\ActiveForm */ /* @var $model \common\models\Customer */ - -use yii\helpers\Html; + + use artbox\core\models\Language; + use yii\helpers\Html; use yii\web\View; use yii\widgets\ActiveForm; use common\models\Customer; @@ -133,6 +134,11 @@ JS; + field($model, 'language_id') ->hiddenInput(['value' => Language::getCurrent()->id])->label(false); + echo $form->field($model, 'status') ->hiddenInput(['value' => Customer::STATUS_NEW])->label(false); + + ?> -- libgit2 0.21.4