Explorar o código

Merge pull request #265 from chiwex/master

Added icon to batch delete button
Jiang Qinghua %!s(int64=5) %!d(string=hai) anos
pai
achega
4217ef7f43
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Grid/Tools/BatchDelete.php

+ 1 - 1
src/Grid/Tools/BatchDelete.php

@@ -14,7 +14,7 @@ class BatchDelete extends BatchAction
     public function render()
     {
         return <<<HTML
-<a href="#" data-name="{$this->parent->getName()}" data-action="batch-delete" data-url="{$this->resource()}">{$this->title}</a>
+<a href="#" data-name="{$this->parent->getName()}" data-action="batch-delete" data-url="{$this->resource()}"><i class="feather icon-trash"></i> {$this->title}</a>
 HTML;
     }
 }