action btn

This commit is contained in:
apuc committed 2024-11-19 16:52:00 +03:00
1 parent 6c2798c123
commit 0bfeabce33
6 files changed
+42 -11

No files matched your search

+2 -1
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]);
}
}