Skip to content

Commit

Permalink
Update view.php
Browse files Browse the repository at this point in the history
  • Loading branch information
phpNT authored Aug 6, 2016
1 parent 0c8dc9d commit e7a4708
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions views/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@
</div>
<div class="<?= $widget->blockClass ?>" style="<?= $widget->blockStyle ?>">
<?php
if ($widget->xls) {
//echo Html::beginForm(['/export/csv'], 'post');
echo Html::beginForm(['/export/xls'], 'post');
if ($widget->csv) {
echo Html::beginForm(['/export/csv'], 'post');
echo Html::hiddenInput('model', $widget->model);
echo Html::hiddenInput('searchAttributes', $widget->searchAttributes);
echo Html::hiddenInput('sort', $widget->sort);
Expand Down

0 comments on commit e7a4708

Please sign in to comment.