Browse Source

feat: add dynamic status

CLDC-1665-add-scheme-status
natdeanlewissoftwire 2 years ago
parent
commit
a427e009df
  1. 2
      app/views/schemes/_scheme_list.html.erb

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

@ -25,7 +25,7 @@
<% row.cell(text: simple_format(scheme_cell(scheme), { class: "govuk-!-font-weight-bold" }, wrapper_tag: "div")) %> <% row.cell(text: simple_format(scheme_cell(scheme), { class: "govuk-!-font-weight-bold" }, wrapper_tag: "div")) %>
<% row.cell(text: scheme.id_to_display) %> <% row.cell(text: scheme.id_to_display) %>
<% row.cell(text: scheme.locations&.count) %> <% row.cell(text: scheme.locations&.count) %>
<% row.cell(text: status_tag("active")) %> <% row.cell(text: status_tag(scheme.status)) %>
<% end %> <% end %>
<% end %> <% end %>
<% end %> <% end %>

Loading…
Cancel
Save