/** * Lists all deleted RgnCity models. * @return mixed */ public function actionDeleted() { if (RgnCityAccess::allowDeleted() == FALSE) { throw RgnCityAccess::exception('deleted'); } $searchModel = new RgnCitySearch(); $dataProvider = $searchModel->searchDeleted($_GET); Tabs::clearLocalStorage(); Url::remember(); \Yii::$app->session['__crudReturnUrl'] = null; return $this->render('deleted', ['dataProvider' => $dataProvider, 'searchModel' => $searchModel]); }
* @var yii\widgets\ActiveForm $form */ ?> <div class="rgn-city-search"> <?php $form = ActiveForm::begin(['action' => ['index'], 'method' => 'get']); ?> <?php echo $form->field($model, 'id'); ?> <?php echo $form->field($model, 'status')->dropDownList(RgnCitySearch::optsstatus()); ?> <?php echo $form->field($model, 'number'); ?> <?php echo $form->field($model, 'name'); ?> <?php echo $form->field($model, 'abbreviation'); ?> <?php
* @var yii\widgets\ActiveForm $form */ ?> <div class="rgn-city-search"> <?php $form = ActiveForm::begin(['action' => ['index'], 'method' => 'get']); ?> <?php echo $form->field($model, 'id'); ?> <?php echo $form->field($model, 'recordStatus')->dropDownList(RgnCitySearch::optsRecordStatus()); ?> <?php echo $form->field($model, 'number'); ?> <?php echo $form->field($model, 'name'); ?> <?php echo $form->field($model, 'abbreviation'); ?> <?php