You are here

ctools-wizard-trail.html.twig in Chaos Tool Suite (ctools) 8.3

{% if trail %}
<div class="wizard-trail">
    {% for key, value in trail %}
        {% if key is same as(step) %}
            <strong>{{ value }}</strong>
        {% else %}
            {{ value }}
        {% endif %}
        {% if value is not same as(trail|last) %}
            {{ divider }}
        {% endif %}
    {% endfor %}
</div>
{% endif %}

File

templates/ctools-wizard-trail.html.twig
View source
  1. {% if trail %}
  2. <div class="wizard-trail">
  3. {% for key, value in trail %}
  4. {% if key is same as(step) %}
  5. <strong>{{ value }}</strong>
  6. {% else %}
  7. {{ value }}
  8. {% endif %}
  9. {% if value is not same as(trail|last) %}
  10. {{ divider }}
  11. {% endif %}
  12. {% endfor %}
  13. </div>
  14. {% endif %}