Browse Source

required changes from comments

pull/669/head
JG 3 years ago
parent
commit
735758835b
  1. 2
      app/views/schemes/_scheme_list.html.erb
  2. 2
      app/views/schemes/show.html.erb

2
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: {

2
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 %>

Loading…
Cancel
Save