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