Code sample
use buttflattery\formwizard\FormWizard;
echo FormWizard::widget(
[
'editMode'=>true,
'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'
]
]
]
);