/**
  * Lists all deleted RgnProvince models.
  * @return mixed
  */
 public function actionDeleted()
 {
     if (RgnProvinceAccess::allowDeleted() == FALSE) {
         throw RgnProvinceAccess::exception('deleted');
     }
     $searchModel = new RgnProvinceSearch();
     $dataProvider = $searchModel->searchDeleted($_GET);
     Tabs::clearLocalStorage();
     Url::remember();
     \Yii::$app->session['__crudReturnUrl'] = null;
     return $this->render('deleted', ['dataProvider' => $dataProvider, 'searchModel' => $searchModel]);
 }
Exemple #2
0
 * @var yii\widgets\ActiveForm $form
 */
?>

<div class="rgn-province-search">

	<?php 
$form = ActiveForm::begin(['action' => ['index'], 'method' => 'get']);
?>

	<?php 
echo $form->field($model, 'id');
?>

	<?php 
echo $form->field($model, 'recordStatus')->dropDownList(RgnProvinceSearch::optsRecordStatus());
?>

	<?php 
echo $form->field($model, 'number');
?>

	<?php 
echo $form->field($model, 'name');
?>

	<?php 
echo $form->field($model, 'abbreviation');
?>

	<?php