{% use '@CraueFormFlow/FormFlow/stepList_blocks.html.twig' %} {%- if flow.getStepLabels() is not empty -%}
{% for stepLabel in flow.getStepLabels() %} {% set class=block('craue_flow_stepList_class') %} {% if "craue_formflow_current_step" in class %}
{% else %}
{% endif %} {%- if craue_isStepLinkable(flow, loop.index) -%} {{ loop.index }} {{- block('craue_flow_stepLabel') -}} {%- else -%} {{ loop.index }} {{ block('craue_flow_stepLabel') }} {%- endif -%}
{% if loop.last == false %}
{% endif %} {% endfor %}
{%- endif -%}