to composer

This commit is contained in:
2024-05-27 12:59:44 +03:00
parent 3f6e5ffcec
commit 42ab26a3db
19 changed files with 134 additions and 21 deletions

View File

@@ -0,0 +1,14 @@
<?php
namespace Itguild\Tables\ActionColumn;
class DeleteActionColumn extends ActionColumn
{
protected string $prefix = "/form-delete/";
public function fetch(): string
{
$link = $this->baseUrl . $this->prefix . $this->id;
return " <a href='$link' class='btn btn-danger'>Удалить</a> ";
}
}