From 735758835be367cbdc6540770531c27ff35a87e0 Mon Sep 17 00:00:00 2001 From: JG Date: Wed, 15 Jun 2022 17:07:00 +0100 Subject: [PATCH] required changes from comments --- app/views/schemes/_scheme_list.html.erb | 2 +- app/views/schemes/show.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/schemes/_scheme_list.html.erb b/app/views/schemes/_scheme_list.html.erb index 4e3413f9d..4e29a29b6 100644 --- a/app/views/schemes/_scheme_list.html.erb +++ b/app/views/schemes/_scheme_list.html.erb @@ -14,7 +14,7 @@ <% row.cell(header: true, text: "Code", html_attributes: { scope: "col", }) %> - <% row.cell(header: true, text: "Service", html_attributes: { + <% row.cell(header: true, text: "Schemes", html_attributes: { scope: "col", }) %> <% row.cell(header: true, text: "Managed by", html_attributes: { diff --git a/app/views/schemes/show.html.erb b/app/views/schemes/show.html.erb index c2ab734cc..8ec02aec3 100644 --- a/app/views/schemes/show.html.erb +++ b/app/views/schemes/show.html.erb @@ -12,7 +12,7 @@ <%= govuk_summary_list do |summary_list| %> <% @scheme.display_attributes.each do |attr| %> <%= summary_list.row do |row| %> - <% row.key { attr[:name].to_s.humanize } %> + <% row.key { attr[:name].eql?("Registered under Care Standards Act 2000") ? "Registered under Care Standards Act 2000" : attr[:name].to_s.humanize} %> <% row.value { details_html(attr) } %> <% end %> <% end %>