templates\forms\signup\_left.html.twig line 1

Open in your IDE?
  1. <div class="aside__list">
  2.       
  3.     {% for section in sections %}
  4.         <div class="aside__item  {% if loop.index < sectionNum %} aside__item--complete {% elseif loop.index == sectionNum %} aside__item--active {% endif %}">
  5.           <div class="aside__step">
  6.             <div class="aside__number">{{loop.index}}</div>
  7.           </div>
  8.   
  9.             <div class="aside__item-name">                  
  10.                 {% if loop.index < sectionNum %}
  11.                     <a 
  12.                         {% if page == 'application' %}
  13.                             href="{{path('application',{courseCode: courseCode, sectionId: section.sectionID, sectionNameSlug:(section.sectionName|slug)})}}"
  14.                         {% else %}
  15.                             href="{{path('signup',{sectionId: section.sectionID, sectionNameSlug:(section.sectionName|slug)})}}"
  16.                         {% endif %}
  17.                         >
  18.                         <span class="form-section-item">
  19.                             {{section.sectionName}}
  20.                         </span>
  21.                     </a>
  22.                 {% elseif loop.index == sectionNum %}
  23.                     <span class="form-section-item active">
  24.                         {{section.sectionName}}
  25.                     </span>
  26.                 {% else %}
  27.                     <span class="form-section-item">
  28.                         {{section.sectionName}}
  29.                     </span>
  30.                 {% endif %}
  31.                 
  32.             </div>
  33.         </div>
  34.     {% endfor %}
  35.       
  36.       
  37.   
  38.     </div>