ctools-wizard-trail-links.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>{{ link(value.title, value.url) }}</strong>
{% else %}
{{ link(value.title, value.url) }}
{% endif %}
{% if value is not same as(trail|last) %}
{{ divider }}
{% endif %}
{% endfor %}
</div>
{% endif %}
File
templates/ctools-wizard-trail-links.html.twig
View source
- {% if trail %}
- <div class="wizard-trail">
- {% for key, value in trail %}
- {% if key is same as(step) %}
- <strong>{{ link(value.title, value.url) }}</strong>
- {% else %}
- {{ link(value.title, value.url) }}
- {% endif %}
- {% if value is not same as(trail|last) %}
- {{ divider }}
- {% endif %}
- {% endfor %}
- </div>
- {% endif %}