ctools-wizard-trail.html.twig

Same filename in other branches
  1. 8.x-3.x templates/ctools-wizard-trail.html.twig
{% 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 %}
1 theme call to ctools-wizard-trail.html.twig
FormWizardBase::customizeForm in src/Wizard/FormWizardBase.php
Helper function for generating default form elements.

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 %}