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.

39 lines
1.3 KiB

<h1 class="govuk-heading-xl">Tasklist for log
<%= @case_log.id %></h1>
3 years ago
<h2 class="govuk-heading-s govuk-!-margin-bottom-2">This submission is
<%= @case_log.status %></h2>
<p class="govuk-body govuk-!-margin-bottom-7">You've completed 0 of 9 sections.</p>
<p class="govuk-body govuk-!-margin-bottom-7">
<a href="#">Skip to next incomplete section</a>
</p>
<%# Placeholder until we have a real form schema %>
<%
sections = {
"About the household" => ["Household characteristics", "Household situation", "Household needs"],
"Tenancy and property information" => ["Tenancy information", "Property information"],
"Rent and charges" => ["Income & benefits", "Rent"],
"Local Authority" => ["Local authority"],
"Submission" => ["Declaration"]
}
%>
<ol class="app-task-list app-task-list--no-numbers">
<% sections.map do |section, subsections| %>
<li>
<h2 class="app-task-list__section">
<span class="app-task-list__section-number"><%= section %></span>
</h2>
<ul class="app-task-list__items">
<% subsections.map do |subsection| %>
<li class="app-task-list__item">
<a class="task-name" href=""><%= subsection %></a>
<strong class="govuk-tag govuk-tag--grey app-task-list__tag">Not started</strong>
</li>
<% end %>
</ul>
</li>
<% end %>
</ol>