cerebrate/templates/element/bootstrapUI.php

7 lines
135 B
PHP
Raw Permalink Normal View History

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