diff --git a/views/shop/_form.php b/views/shop/_form.php index f7b6377..b465219 100644 --- a/views/shop/_form.php +++ b/views/shop/_form.php @@ -115,7 +115,8 @@ 'Shop[city_id]', + 'model' => $model, + 'attribute' => 'city_id', 'value' => array_keys($model->cities), 'data' => $model->cities, 'options' => [ 'placeholder' => 'Выберите город ...' ], -- libgit2 0.21.4