?>
                <?php 
echo Html::a('<i class="fa fa-trash"></i>', ['delete', 'id' => $model->id], ['class' => 'btn btn-danger btn-sm', 'title' => Employment::t('employment', 'Delete'), 'data-confirm' => Employment::t('employment', 'Are you sure to delete this item?'), 'data-method' => 'post']);
?>
            </div>
        </div>
        <div class="box-body">
                <?php 
$form = ActiveForm::begin(['id' => 'timetable-cansel-lessons', 'enableClientValidation' => true, 'validateOnChange' => false, 'validateOnBlur' => true]);
?>
                <div class="col-sm-12">
                    <?php 
echo $form->field($model, 'date')->widget(DatePicker::className(), ['type' => DatePicker::TYPE_INPUT, 'options' => ['placeholder' => Employment::t('employment', 'Set date'), 'id' => 'paid-employment-date'], 'pluginOptions' => ['autoclose' => true, 'format' => 'yyyy-mm-dd', 'todayHighlight' => true, 'todayBtn' => true]]);
?>
                </div>
                <div class="col-sm-12">
                    <?php 
echo $form->field($model, 'id')->widget(DepDrop::className(), ['typename' => 'dropdownList', 'options' => ['placeholder' => Employment::t('employment', 'Set date first')], 'pluginOptions' => ['depends' => ['paid-employment-date'], 'url' => Url::to(['timetable-list']), 'placeholder' => false]]);
?>
                </div>
                <div class="col-sm-12">
                    <?php 
echo Html::submitButton(Employment::t('employment', 'Transfer class'), ['class' => 'btn btn-primary btn-large']);
?>
                </div>
                <?php 
ActiveForm::end();
?>
        </div>
    </div>
</div>
?>
            </div>
        </div>
        <div class="box-body">
            <div class="row">
                <?php 
$form = ActiveForm::begin(['id' => 'timetable-cansel-lessons', 'enableClientValidation' => true]);
?>
                <div class="col-sm-12">
                    <?php 
echo $form->field($model, 'date')->widget(DatePicker::className(), ['name' => '', 'type' => DatePicker::TYPE_INPUT, 'options' => ['placeholder' => Module::t('timetable-admin', 'Set the date')], 'pluginOptions' => ['autoclose' => true, 'format' => 'dd.mm.yyyy', 'todayHighlight' => true, 'todayBtn' => true]]);
?>
                </div>
                <div class="col-sm-12">
                    <?php 
echo $form->field($model, 'ids')->widget(DepDrop::className(), ['typename' => 'listBox', 'options' => ['placeholder' => Module::t('timetable-admin', 'Set the date first'), 'multiple' => true, 'size' => 7], 'pluginOptions' => ['depends' => ['timetablecancel-date'], 'url' => Url::to(['cancel-lessons']), 'placeholder' => false]]);
?>
                </div>
                <div class="col-sm-12">
                    <?php 
echo Html::submitButton(Module::t('timetable-admin', 'Cancel lessons'), ['class' => 'btn btn-primary btn-large']);
?>
                </div>
                <?php 
ActiveForm::end();
?>
            </div>
        </div>
    </div>
</div>