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.
33 lines
1.2 KiB
33 lines
1.2 KiB
<% content_for :title, "Review lettings log" %> |
|
<% content_for :breadcrumbs, govuk_breadcrumbs(breadcrumbs: { |
|
"Logs" => "/logs", |
|
"Log #{@case_log.id}" => "/logs/#{@case_log.id}", |
|
"Review lettings log" => "", |
|
}) %> |
|
|
|
<div class="govuk-grid-row"> |
|
<div class="govuk-grid-column-two-thirds-from-desktop"> |
|
<h1 class="govuk-heading-xl"> |
|
<%= content_for(:title) %> |
|
</h1> |
|
<p class="govuk-body"> |
|
You can review and make changes to this log until 2nd June <%= @case_log.collection_start_year.present? ? @case_log.collection_start_year + 1 : "" %>. |
|
</p> |
|
<% @case_log.form.sections.map do |section| %> |
|
<h2 class="govuk-heading-m"><%= section.label %></h2> |
|
<% section.subsections.map do |subsection| %> |
|
<div class="x-govuk-summary-card govuk-!-margin-bottom-6"> |
|
<div class="x-govuk-summary-card__header"> |
|
<h3 class="x-govuk-summary-card__title"><%= subsection.label %></h3> |
|
</div> |
|
<div class="x-govuk-summary-card__body"> |
|
<%= render partial: "form/check_answers_summary_list", locals: { |
|
subsection:, |
|
case_log: @case_log, |
|
} %> |
|
</div> |
|
</div> |
|
<% end %> |
|
<% end %> |
|
</div> |
|
</div>
|
|
|