ctools-wizard-trail-links.html.twig

Same filename in other branches
  1. 8.x-3.x templates/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
  1. {% if trail %}
  2. <div class="wizard-trail">
  3. {% for key, value in trail %}
  4. {% if key is same as(step) %}
  5. <strong>{{ link(value.title, value.url) }}</strong>
  6. {% else %}
  7. {{ link(value.title, value.url) }}
  8. {% endif %}
  9. {% if value is not same as(trail|last) %}
  10. {{ divider }}
  11. {% endif %}
  12. {% endfor %}
  13. </div>
  14. {% endif %}