<?php

use yii\helpers\Html;
use yii\widgets\DetailView;
use yii\widgets\listView;

/* @var $this yii\web\View */
/* @var $model backend\modules\ubux\models\Satpam */

$this->title = 'Data Satpam';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="satpam-index">

    <h1><?= Html::encode($this->title) ?></h1>
    <?php // echo $this->render('_search', ['model' => $searchModel]); ?>

    <!-- <p>
        <?= Html::a('Create Satpam', ['create'], ['class' => 'btn btn-success']) ?>
    </p>
 -->
   

    <p>
    <?php        
        echo listView::widget([
                'dataProvider'=>$this->context->showSatpam(),
                'itemView' => 'list',
            ]);
    ?>
    </p>

</div>