{# /** * @file * Default theme implementation for webform wizard progress. * * Available variables: * - webform: A webform. * - pages: Array of wizard pages. * - current_page: Current wizard page. * - index: Index of the current page. * - total: Total number of pages. * - summary: Summary of progress. * - percentage: Percentage completed. * - bar: A progress bar. * * @see template_preprocess_webform_progress() * * @ingroup themeable */ #} {{ attach_library('webform/webform.progress') }}
{{ bar }} {% if summary or percentage %}
{% if summary %} {{ summary }} {% if percentage %} ({{ percentage }}) {% endif %} {% else %} {{ percentage }} {% endif %}
{% endif %}