update beta

This commit is contained in:
2024-07-24 16:29:00 +03:00
parent 043a699c6d
commit 0e13d2c418
4 changed files with 65 additions and 24 deletions

View File

@ -0,0 +1,17 @@
<?php
namespace app\tables\columns;
use Itguild\Tables\ActionColumn\ActionColumn;
class UserEditActionColumn extends ActionColumn
{
protected string $prefix = "/";
public function fetch(): string
{
// $link = $this->baseUrl . $this->prefix . $this->id . $this->prefix . "update";
$link = $this->baseUrl . $this->prefix . "update" . $this->prefix . $this->id;
return " <a href='$link' class='btn btn-primary'>Редактировать</a> ";
}
}