Submit social housing lettings and sales data (CORE)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

22 lines
832 B

<ol class="app-task-list app-task-list--no-numbers">
<% Form::SECTIONS.map do |section, subsections| %>
<li>
<h2 class="app-task-list__section">
<span class="app-task-list__section-number">
<%= section.gsub('_', ' ').capitalize %>
</span>
</h2>
<ul class="app-task-list__items">
<% subsections.map do |subsection| %>
<li class="app-task-list__item">
<% first_question = Form.first_question_for_subsection(subsection) %>
<%= link_to subsection.gsub('_', ' ').capitalize, send("case_log_#{first_question}_path", @case_log), class: "task-name" %>
<strong class="govuk-tag govuk-tag--grey app-task-list__tag">
Not started
</strong>
</li>
<% end %>
</ul>
</li>
<% end %>
</ol>