cerebrate/templates/element/bootstrapUI.php

7 lines
135 B
PHP

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