ctools-wizard-trail-links.html.twig
{% 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 %}
1 theme call to ctools-wizard-trail-links.html.twig
- EntityFormWizardBase::customizeForm in src/Wizard/EntityFormWizardBase.php
- Helper function for generating label and id form elements.
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 %}