<?php

use yii\helpers\Html;
use yii\grid\GridView;

/* @var $this yii\web\View */
/* @var $dataProvider yii\data\ActiveDataProvider */

$this->title = 'Logstatuses';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="logstatus-index">

    <h1><?= Html::encode($this->title) ?></h1>

    <p>
        <?= Html::a('Create Logstatus', ['create'], ['class' => 'btn btn-success']) ?>
    </p>
    <?= GridView::widget([
        'dataProvider' => $dataProvider,
        'columns' => [
            ['class' => 'yii\grid\SerialColumn'],

            'id',
            'status_anterior',
            'nuevo_status',
            'comentario_id',
            'created',
            // 'modified',
            // 'created_by',
            // 'modified_by',
            // 'registro_id',

            ['class' => 'yii\grid\ActionColumn'],
        ],
    ]); ?>
</div>
