From d1ecd12304dce728d0e51f713273048125aa4e8f Mon Sep 17 00:00:00 2001 From: Sam Seed Date: Fri, 11 Nov 2022 09:43:29 +0000 Subject: [PATCH] feat: add status col to locations table --- app/views/locations/index.html.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/locations/index.html.erb b/app/views/locations/index.html.erb index c7d631049..c295cb688 100644 --- a/app/views/locations/index.html.erb +++ b/app/views/locations/index.html.erb @@ -31,6 +31,7 @@ <% row.cell(header: true, text: "Postcode", html_attributes: { scope: "col", }) %> + <% row.cell(header: true, text: "Status", html_attributes: { scope: "col", }) %> <% end %> @@ -40,6 +41,7 @@ <%= body.row do |row| %> <% row.cell(text: location.id) %> <% row.cell(text: simple_format(location_cell_postcode(location, "/schemes/#{@scheme.id}/locations/#{location.id}"), { class: "govuk-!-font-weight-bold" }, wrapper_tag: "div")) %> + <% row.cell(text: status_tag(location.status)) %> <% end %> <% end %> <% end %>