chofoteddy/yii2-bootstrap-wizard

Wizard form based on twitter bootstrap plugin (@VinceG)

dev-master 2015-07-16 20:47 UTC

This package is not auto-updated.

Last update: 2024-11-09 18:38:04 UTC


README

Wizard form based on twitter bootstrap plugin (@VinceG)

Install via Composer

The first step is to install the library manager for bower

composer.phar global require "fxp/composer-asset-plugin:~1.0.0"

We now proceed to install the widget

composer.phar require chofoteddy/yii2-bootstrap-wizard "*"

Usage

<?php
use chofoteddy\wizard\Wizard;

echo Wizard::widget([
    'items' => [
        // wizard step
        [
            'label' => 'Collapsible Group Item #1',
            'content' => 'Anim pariatur cliche...',
        ],
        // another wizard step
        [
            'label' => 'Collapsible Group Item #1',
            'content' => 'Anim pariatur cliche...',
            'options' => [...],
        ],
    ]
]); ?>

Documentation

Wizard renders a wizard bootstrap javascript component.

Structure

Public properties

Methods