You are here

length-indicator.html.twig in Length Indicator 8

<div class="length-indicator">
    {% for indicator in indicators %}
        <span
                class="length-indicator__indicator {{ indicator['class'] }}"
                data-pos="{{ indicator['pos'] }}"
                style="width: {{ indicator['width'] }}%"
        ></span>
    {% endfor %}
    <div class="length-indicator__cursor"></div>
</div>

File

templates/length-indicator.html.twig
View source
  1. <div class="length-indicator">
  2. {% for indicator in indicators %}
  3. <span
  4. class="length-indicator__indicator {{ indicator['class'] }}"
  5. data-pos="{{ indicator['pos'] }}"
  6. style="width: {{ indicator['width'] }}%"
  7. ></span>
  8. {% endfor %}
  9. <div class="length-indicator__cursor"></div>
  10. </div>