From: vladfo Date: Tue, 8 Oct 2024 09:51:06 +0000 (+0300) Subject: Добавление кнопки назад X-Git-Tag: 1.6~30^2~16 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=1e94da819dd0ccdcdf420cd8dac9d80d18957a8e;p=erp24_rep%2Fyii-erp24%2F.git Добавление кнопки назад --- diff --git a/erp24/views/city_store/_form.php b/erp24/views/city_store/_form.php index a7889f52..8477484b 100644 --- a/erp24/views/city_store/_form.php +++ b/erp24/views/city_store/_form.php @@ -2,6 +2,7 @@ use yii\helpers\Html; use kartik\select2\Select2; +use yii\helpers\Url; use yii\widgets\ActiveForm; /** @var yii\web\View $this */ @@ -184,6 +185,7 @@ $this->registerJsFile('/js/city-store/index.js', ['position' => \yii\web\View::P
'btn btn-success']) ?> + Отмена
diff --git a/erp24/views/city_store/create.php b/erp24/views/city_store/create.php index 8fcb8cea..3357b413 100644 --- a/erp24/views/city_store/create.php +++ b/erp24/views/city_store/create.php @@ -1,6 +1,7 @@ params['breadcrumbs'][] = ['label' => 'City Stores', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?>
- + Назад

title) ?>

render('_form', [ diff --git a/erp24/views/city_store/update.php b/erp24/views/city_store/update.php index a75aab3e..b6f41cf2 100644 --- a/erp24/views/city_store/update.php +++ b/erp24/views/city_store/update.php @@ -1,6 +1,7 @@ params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id $this->params['breadcrumbs'][] = 'Update'; ?>
- + Назад

title) ?>

render('_form', [ diff --git a/erp24/views/city_store/view.php b/erp24/views/city_store/view.php index da6d5c80..10304bcd 100644 --- a/erp24/views/city_store/view.php +++ b/erp24/views/city_store/view.php @@ -1,6 +1,7 @@ params['breadcrumbs'][] = ['label' => 'City Stores', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; \yii\web\YiiAsset::register($this); ?> -
- +
+ Назад

title) ?>