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.
|
|
|
<% title = "Collection resources" %>
|
|
|
|
<% content_for :title, title %>
|
|
|
|
<% content_for :before_content do %>
|
|
|
|
<%= govuk_back_link(href: :back) %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<% if display_next_year_banner? %>
|
|
|
|
<%= govuk_notification_banner(title_text: "Important") do %>
|
|
|
|
<p class="govuk-notification-banner__heading govuk-!-width-full" style="max-width: fit-content">
|
|
|
|
The <%= text_year_range_format(next_collection_start_year) %> collection resources are not yet available to users.
|
|
|
|
<p>
|
|
|
|
<%= next_year_banner_text(@mandatory_lettings_collection_resources_per_year, @mandatory_sales_collection_resources_per_year) %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<h1 class="govuk-heading-l"><%= title %></h1>
|
|
|
|
|
|
|
|
<% @mandatory_lettings_collection_resources_per_year.each do |year, mandatory_resources| %>
|
|
|
|
<h2 class="govuk-heading-m">
|
|
|
|
Lettings <%= text_year_range_format(year) %>
|
|
|
|
</h2>
|
|
|
|
<%= render partial: "collection_resource_summary_list", locals: { mandatory_resources: } %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<% @mandatory_sales_collection_resources_per_year.each do |year, mandatory_resources| %>
|
|
|
|
<h2 class="govuk-heading-m">
|
|
|
|
Sales <%= text_year_range_format(year) %>
|
|
|
|
</h2>
|
|
|
|
<%= render partial: "collection_resource_summary_list", locals: { mandatory_resources: } %>
|
|
|
|
<% end %>
|