s[0] or 'active' %}
{% set s2 = stages[1] or 'uncomplete' %}
{% if s1 != 'uncomplete' %}{% set class = 'stage-1' %}{% endif %}
{% if s2 != 'uncomplete' %}{% set class = 'stage-2' %}{% endif %}

<ol class="stages {{ class }}">
  <li class="first {{ s1 }}">
    {% if s1 != 'complete' %}
      <span class="highlight">Crear dataset</span>
    {% else %}
      <button class="highlight" name="save" value="go-dataset" type="submit">Crear dataset</button>
    {% endif %}
  </li>
  <li class="last {{ s2 }}">
    {% 