]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
Кнопка назад
authorvladfo <fvv2011@gmail.com>
Wed, 16 Oct 2024 11:58:06 +0000 (14:58 +0300)
committervladfo <fvv2011@gmail.com>
Wed, 16 Oct 2024 11:58:06 +0000 (14:58 +0300)
erp24/views/crud/cluster-admin/_form.php
erp24/views/crud/cluster-admin/create.php
erp24/views/crud/cluster-admin/update.php
erp24/views/crud/cluster-admin/view.php

index 9bbf066785d73de9e21b298326360284be613667..e9f0bef9ca20f3a464032b150d88e32604bd657f 100644 (file)
@@ -62,6 +62,7 @@ use yii_app\records\ClusterAdmin;
 
         <div class="form-group">
             <?= Html::submitButton('Сохранить', ['class' => 'btn btn-success']) ?>
+            <?= Html::a('Отмена', ['index'], ['class' => 'btn btn-danger my-2']) ?>
         </div>
 
         <?php ActiveForm::end(); ?>
index 66e35faf2ba2be5c442713d70be29134390ca65b..9c5ed4f7ad381c04c16d837b856735be8a486760 100644 (file)
@@ -14,7 +14,7 @@ $this->params['breadcrumbs'][] = ['label' => 'Cluster Admins', 'url' => ['index'
 $this->params['breadcrumbs'][] = $this->title;
 ?>
 <div class="cluster-admin-create p-4">
-
+    <?= Html::a('Назад', ['index'], ['class' => 'btn btn-danger my-2']) ?>
     <h1><?= Html::encode($this->title) ?></h1>
 
     <?= $this->render('_form', [
index 5ef6a0cbf2f0f1bd8edb63fda815953f2e4d73d7..1d345309fd34ced5fab92824a0f36f2730e7b9fd 100644 (file)
@@ -15,7 +15,7 @@ $this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id'
 $this->params['breadcrumbs'][] = 'Update';
 ?>
 <div class="cluster-admin-update p-4">
-
+    <?= Html::a('Назад', ['index'], ['class' => 'btn btn-danger my-2']) ?>
     <h1><?= Html::encode($this->title) ?></h1>
 
     <?= $this->render('_form', [
index d5a3b7c8f316278c95485f2dd2c56a787645db75..3a41c27814c646da1651e71b614bea5d48a91bb8 100644 (file)
@@ -13,7 +13,7 @@ $this->params['breadcrumbs'][] = $this->title;
 \yii\web\YiiAsset::register($this);
 ?>
 <div class="cluster-admin-view p-4">
-
+    <?= Html::a('Назад', ['index'], ['class' => 'btn btn-danger my-2']) ?>
     <h1><?= Html::encode($this->title) ?></h1>