@php($isCurrent = true) @foreach($allSteps as $id => $step) @php($cssClass = ($isCurrent ? 'sw-current' : ''))
  1. {!! trans('setup_wizard::steps.' . $id . '.breadcrumb') !!}
  2. @if(\SetupWizard::isCurrent($id)) @php($isCurrent = false) @endif @endforeach