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

Click any of the steps below to edit them