soldierm/yii2-wizard

Bootstrap wizard for Yii2

v1.0 2020-06-16 08:47 UTC

This package is auto-updated.

Last update: 2024-05-16 17:43:06 UTC


README

Bootstrap wizard for Yii2

Usage

echo \soldierm\wizard\Wizard::widget([
    'items' => [
        [
            'label' => 'First',
            'content' => 'This is first page.'
        ],
        [
            'label' => 'Second',
            'content' => 'This is second page.'
        ],
    ],
    'previousBtnName' => 'previous',
    'nextBtnName' => 'next',
]);

View

image.png