Version 1
[yaffs-website] / web / modules / contrib / ctools / templates / ctools-wizard-trail.html.twig
diff --git a/web/modules/contrib/ctools/templates/ctools-wizard-trail.html.twig b/web/modules/contrib/ctools/templates/ctools-wizard-trail.html.twig
new file mode 100644 (file)
index 0000000..3083307
--- /dev/null
@@ -0,0 +1,14 @@
+{% 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 %}