cerebrate/templates/element/bootstrapUI.php

7 lines
135 B
PHP
Raw Normal View History

<?php
if (!empty($element)) {
echo $this->Bootstrap->{$element}([
'text' => $text,
'variant' => $variant,
]);
}