action btn

This commit is contained in:
2024-11-19 16:52:00 +03:00
parent 6c2798c123
commit 0bfeabce33
6 changed files with 42 additions and 11 deletions

View File

@ -18,7 +18,8 @@ class ActionButtonWidget extends Widget
$label = $this->data['label'];
$btn_type = $this->data['btn_type'];
$url = $this->data['url'];
$title = $this->data['title'] ?? '';
return $this->cgView->fetch('/action_button.php', ['label' => $label, 'btn_type' => $btn_type, 'url' => $url]);
return $this->cgView->fetch('/action_button.php', ['label' => $label, 'btn_type' => $btn_type, 'url' => $url, 'title' => $title]);
}
}