Bootstrap Fieldset widgets for Yii2
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist kak/fieldset "dev-master"
or add
"kak/fieldset": "dev-master"
to the require section of your composer.json
file.
<?php kak\widgets\fieldset\FieldSet::begin([
'legend' => Yii::t('app-dash','user info'),
// 'active' => true // false - hide content, default true
// 'speed' => 500, // animation speed default value 300
// 'dataUp' => "<i class='glyphicon glyphicon-collapse-up'></i> ", // template content icon
// 'dataDown' => "<i class='glyphicon glyphicon-collapse-down'></i> ", // template content icon
]);?>
... content ...
<?php kak\widgets\fieldset\FieldSet::end(); ?>
No stable releases.
Comments