{% set steps = steps|default([ { label: 'Projet', icon: 'solar:widget-2-broken' }, { label: 'Paramètres', icon: 'solar:settings-broken' }, { label: 'Import', icon: 'iconoir:import' }, ]) %} {% set current = currentStep|default(0) %}
    {% for step in steps %} {% set index = loop.index0 %} {% set stateClass = index < current ? 'complete' : (index == current ? 'active' : '') %}
  1. {% endfor %}