Preview Steps

Code sample

echo FormWizard::widget(
[
    'enablePreview' => true,
    'classListGroup' => 'list-group',
    'classListGroupHeading' => 'list-group-heading',
    'classListGroupItem' => 'list-group-item-info',
    'classListGroupBadge' => 'danger',
    'steps' => [
        [
            'model' => $shootsModel,
            'title' => 'My Shoots',
            'description' => 'Add your shoots',
            'formInfoText' => 'Fill all fields'
        ],
        [
            'model' => $shootTagModel,
            'title' => 'My Shoot Tags',
            'description' => 'Add shoot tags',
            'formInfoText' => 'Fill all fields'
        ]
    ]
]
);
Fill all fields

Fill all fields

Review information below and click to change