<?php
/**
 * Created by PhpStorm.
 * User: NODELOG
 * Date: 2018/11/30
 * Time: 10:59
 */

use yii\helpers\Html;

?>

<p>
    <?= Html::a(Yii::t('common', 'Update'), ['update', 'id' => $model->id], ['class' => 'btn btn-success']) ?>
    <?= Html::a(Yii::t('common', 'Delete'), ['delete', 'id' => $model->id], [
        'class' => 'btn btn-danger',
        'data' => [
            'confirm' => Yii::t('common', 'Are you sure you want to delete this item?'),
            'method' => 'post',
        ],
    ]) ?>
</p>