templates/bundles/CraueFormFlowBundle/FormFlow/stepList_content.html.twig line 1

Open in your IDE?
  1. {% use '@CraueFormFlow/FormFlow/stepList_blocks.html.twig' %}
  2. {%- if flow.getStepLabels() is not empty -%}
  3.     <div class="craue_formflow_steplist">
  4.         {% for stepLabel in flow.getStepLabels() %}
  5.             <div{{ block('craue_flow_stepList_class') }}>
  6.                 <p class="label">
  7.                     {%- if craue_isStepLinkable(flow, loop.index) -%}
  8.                         <a href="{{ path(app.request.attributes.get('_route'), app.request.query.all
  9.                                 | merge(app.request.attributes.get('_route_params'))
  10.                                 | craue_addDynamicStepNavigationParameters(flow, loop.index)) }}">
  11.                             {{- block('craue_flow_stepLabel') -}}
  12.                         </a>
  13.                     {%- else -%}
  14.                         {{ block('craue_flow_stepLabel') }}
  15.                     {%- endif -%}
  16.                 </p>
  17.                 <div class="icon">
  18.                     {% include 'icons/devisSteps/step' ~ loop.index ~ '.svg' %}
  19.                 </div>
  20.             </div>
  21.         {% endfor %}
  22.     </div>
  23. {%- endif -%}