title = Yii::t('app', 'Update {modelClass}: ', [ 'modelClass' => 'Lots', ]) . ' ' . $model->name; $this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Lots'), 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; $this->params['breadcrumbs'][] = Yii::t('app', 'Update'); if(Yii::$app->user->can("admin") || Yii::$app->user->can('org')) { $form = '_admin'; } else $form = '_form'; ?>
title) ?>
render($form, [ 'model' => $model, ]) ?>