ctools-wizard-trail.html.twig
Same filename in other branches
{% 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
- {% 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 %}