Пример #1
0
        }
        $(".essay_buttons, .essay_confirmed").addClass("hide");
        $(".essay_canceled").removeClass("hide");
    })

    $("#filter-form").on("change", function(){
        this.submit();
    })
', yii\web\View::POS_READY);
$this->title = 'Модерация работ';
?>

<div>
    <?php 
echo Html::beginForm('', 'post', ['id' => 'filter-form', 'class' => 'col-md-3']);
echo Html::dropDownList("filter_week", $filter_week, Weeks::getWeeksDropDown(), ['prompt' => 'Неделя розыгрыша', 'class' => 'form-control']);
echo "<br/>";
echo Html::dropDownList("filter_status", $filter_status, [1 => 'Не обработано', 2 => 'Принято', 3 => 'Не принято'], ['prompt' => 'Статус обработки', 'class' => 'form-control  ']);
echo Html::endForm();
?>
    <div class="clearfix"></div>
    <br/>
    <?php 
if (count($model) > 0) {
    ?>
    
        <table class="table table-hover shell-table">
            <thead>
                <tr>
                    <th>Фамилия</th>
                    <th>Имя</th>