Update Composer, update everything
This commit is contained in:
parent
ea3e94409f
commit
dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{#
|
||||
/**
|
||||
* @file
|
||||
* Default theme implementation from webform wizard progress bar.
|
||||
* Default theme implementation for webform wizard progress bar.
|
||||
*
|
||||
* Available variables:
|
||||
* - webform: A webform.
|
||||
|
|
@ -20,14 +20,14 @@
|
|||
|
||||
{% if progress|length < max_pages %}
|
||||
<ol class="webform-progress-bar" data-steps="{{ progress|length }}">
|
||||
{% for index, title in progress %}{%
|
||||
{% for index, page in progress %}{%
|
||||
set classes = [
|
||||
'webform-progress-bar__page',
|
||||
index < current_index ? 'webform-progress-bar__page--done',
|
||||
index == current_index ? 'webform-progress-bar__page--current',
|
||||
]
|
||||
%}<li{{ attributes.setAttribute('class', '').addClass(classes) }}>
|
||||
<b>{{ title }}</b>{% if (loop.first or loop.last) %}<span></span>{% endif %}
|
||||
%}<li{{ attributes.setAttribute('data-webform-page', page.name).setAttribute('class', '').addClass(classes) }}>
|
||||
<b>{{ page.title }}</b>{% if (loop.first or loop.last) %}<span></span>{% endif %}
|
||||
</li>{% endfor %}
|
||||
</ol>
|
||||
{% endif %}
|
||||
|
|
|
|||
Reference in a new issue