<% @case_log.form.sections.map do |section| %>
-
<%= section.label %>
<% if section.description %>
<%= section.description.html_safe %>
<% end %>
<% section.subsections.map do |subsection| %>
<% subsection_status = subsection.status(@case_log) %>
-
<%= subsection_link(subsection, @case_log) %>
<%= TasklistHelper::STATUSES[subsection_status] %>
<% end %>
<% end %>
Review and submit
Review your answers and submit this log to the Department of Levelling Up, Housing & Communities.
<%= govuk_button_link_to 'Review lettings log', "/logs/#{@case_log.id}/review" %>