diff --git a/backend/modules/settings/views/additional-fields/_form.php b/backend/modules/settings/views/additional-fields/_form.php index d89afe1..9b600c2 100755 --- a/backend/modules/settings/views/additional-fields/_form.php +++ b/backend/modules/settings/views/additional-fields/_form.php @@ -17,7 +17,7 @@ use yii\widgets\ActiveForm; = $form->field($model, 'use')->checkboxList((new \common\models\UseField())->statuses); ?>
- = Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> - = Html::a('Delete', ['delete', 'id' => $model->id], [ + = Html::a('Редактировать', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> + = Html::a('Удалить', ['delete', 'id' => $model->id], [ 'class' => 'btn btn-danger', 'data' => [ - 'confirm' => 'Are you sure you want to delete this item?', + 'confirm' => 'Вы действительно хотите удалить поле?', 'method' => 'post', ], ]) ?> + = Html::a('Создать', ['create', 'id' => $model->id], ['class' => 'btn btn-success']) ?> + = Html::a('Показать все', ['index', 'id' => $model->id], ['class' => 'btn btn-primary']) ?>
= DetailView::widget([