diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index 87e058969..cafff3f8f 100644 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -50,6 +50,8 @@ <%= render partial: "layouts/collection_resources" %>
<%= render partial: "home/upcoming_deadlines" %> +
+ <%= render partial: "layouts/about_core" %> diff --git a/app/views/layouts/_about_core.html.erb b/app/views/layouts/_about_core.html.erb new file mode 100644 index 000000000..e614e613c --- /dev/null +++ b/app/views/layouts/_about_core.html.erb @@ -0,0 +1,7 @@ +<% if current_user.present? %> +

About CORE

+<% else %> +

About CORE

+<% end %> +

CORE (COntinuous REcording of Lettings and Sales in Social Housing in England) is a service that collects information about every new social housing letting and sale in England. The data you submit is used to make decisions about funding, regulations, and policies.

+

<%= govuk_link_to "Learn more about statistics on social housing lettings (opens in a new tab)", "https://www.gov.uk/government/collections/rents-lettings-and-tenancies", target: "_blank" %>

diff --git a/app/views/start/index.html.erb b/app/views/start/index.html.erb index a726be277..47d9de516 100644 --- a/app/views/start/index.html.erb +++ b/app/views/start/index.html.erb @@ -24,6 +24,8 @@

You can <%= govuk_mail_to("dluhc.digital-services@levellingup.gov.uk", "request an account", subject: "CORE: Request a new account") %> if your organisation doesn’t have one.

<%= govuk_link_to guidance_path do %>Guidance for submitting social housing lettings and sales data (CORE)<% end %>


+ <%= render partial: "layouts/about_core" %> +
diff --git a/spec/requests/start_controller_spec.rb b/spec/requests/start_controller_spec.rb index 2287280dc..612c2d768 100644 --- a/spec/requests/start_controller_spec.rb +++ b/spec/requests/start_controller_spec.rb @@ -60,6 +60,11 @@ RSpec.describe StartController, type: :request do get "/", headers: headers, params: {} expect(page).to have_content("Guidance for submitting social housing lettings and sales data (CORE)") end + + it "displays about core section" do + get "/", headers:, params: {} + expect(page).to have_content("About CORE") + end end end