Browse Source

looks per spec

pull/656/head
JG 3 years ago
parent
commit
23e98c22a9
  1. 2
      app/views/schemes/_scheme_list.html.erb
  2. 2
      config/routes.rb

2
app/views/schemes/_scheme_list.html.erb

@ -29,7 +29,7 @@
<%= table.body do |body| %> <%= table.body do |body| %>
<%= body.row do |row| %> <%= body.row do |row| %>
<% row.cell(text: scheme.code) %> <% row.cell(text: scheme.code) %>
<% row.cell(text: simple_format(scheme_cell(scheme), {}, wrapper_tag: "div")) %> <% row.cell(text: simple_format(scheme_cell(scheme), { class: "govuk-!-font-weight-bold" }, wrapper_tag: "div")) %>
<% row.cell(text: scheme.organisation.name) %> <% row.cell(text: scheme.organisation.name) %>
<% row.cell(text: scheme.created_at.to_formatted_s(:govuk_date)) %> <% row.cell(text: scheme.created_at.to_formatted_s(:govuk_date)) %>
<% end %> <% end %>

2
config/routes.rb

@ -35,7 +35,7 @@ Rails.application.routes.draw do
get "edit/password", to: "users#edit_password" get "edit/password", to: "users#edit_password"
end end
resources :schemes, path: "/supported-housing", only: [:index] resources :schemes, path: "/supported-housing", only: [:index, :show]
resources :users do resources :users do
member do member do

Loading…
Cancel
Save