igfs/app/action_btn/CreateUserBtn.php
2024-07-24 17:22:59 +03:00

15 lines
337 B
PHP

<?php
namespace app\action_btn;
use Itguild\Tables\actionBtn\ActionBtn;
class CreateUserBtn extends ActionBtn
{
protected string $prefix = "/admin/user/create";
public function fetch(): string
{
return "<a class='btn btn-primary' href='$this->baseUrl$this->prefix' style='margin: 3px'>Создать</a>";
}
}