From f5b946d5a9f21e6ef6e889ae93c1234836ad6dcb Mon Sep 17 00:00:00 2001 From: Sami Mokaddem Date: Tue, 15 Nov 2022 11:11:06 +0100 Subject: [PATCH] new: [element:bootstrapUI] To create HTML from BootrstrapHelper by using element --- templates/element/bootstrapUI.php | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 templates/element/bootstrapUI.php diff --git a/templates/element/bootstrapUI.php b/templates/element/bootstrapUI.php new file mode 100644 index 0000000..b21d876 --- /dev/null +++ b/templates/element/bootstrapUI.php @@ -0,0 +1,7 @@ +Bootstrap->{$element}([ + 'text' => $text, + 'variant' => $variant, + ]); +} \ No newline at end of file