Skip to content

Commit e7a4708

Browse files
author
phpNT
authored
Update view.php
1 parent 0c8dc9d commit e7a4708

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

views/view.php

+2-3
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@
2727
</div>
2828
<div class="<?= $widget->blockClass ?>" style="<?= $widget->blockStyle ?>">
2929
<?php
30-
if ($widget->xls) {
31-
//echo Html::beginForm(['/export/csv'], 'post');
32-
echo Html::beginForm(['/export/xls'], 'post');
30+
if ($widget->csv) {
31+
echo Html::beginForm(['/export/csv'], 'post');
3332
echo Html::hiddenInput('model', $widget->model);
3433
echo Html::hiddenInput('searchAttributes', $widget->searchAttributes);
3534
echo Html::hiddenInput('sort', $widget->sort);

0 commit comments

Comments
 (0)