{# @description The steps of an import with the current one marked and those before it done. #} {# @prop steps:list | description:"Pairs of key and label, in the order the person takes them." #} {# @prop current:int | description:"The position of the current step, counting from 0, or -1 when none is current." #} {% load i18n %}
    {% for key, label in steps %}
  1. {% if forloop.counter0 < current %}{% else %}{{ forloop.counter }}{% endif %} {{ label }}
  2. {% endfor %}