<?php

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

/* @var $this yii\web\View */
/* @var $searchModel common\models\PrizesSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */

$this->title = 'Prizes';
$this->params['breadcrumbs'][] = $this->title;
?>
<section class="content">
    <div class="row">
        <!-- left column -->
        <div class="col-md-12">
            <!-- general form elements -->
            <div class="box box-primary">
                <div class="box-header with-border">
                    <h3 class="box-title">Particpants</h3>
                   <!-- <div class="pull-right box-tools">
                        <?=Html::a('<i class="fa fa-plus"></i> Add New ', ['create'], ['class' => 'btn btn-success']) ?>
                    </div>-->
                </div>
                <!-- /.box-header -->
                <div class="box-body pad">
                  

            <?= GridView::widget([
                'dataProvider' => $dataProvider,
               // 'filterModel' => $searchModel,
                'columns' => [
                    ['class' => 'yii\grid\SerialColumn'],
                    'name',
                    'quantity',
                    'current_qty',
                    ['class' => 'yii\grid\ActionColumn','template'=>'{update}'],
                ],
            ]); ?>

            </div>
        </div>
    </div>
</section>
