Browse Source

Remove grid layout from locations index

pull/723/head
Paul Robert Lloyd 3 years ago
parent
commit
eda37d2d35
  1. 4
      app/views/locations/index.html.erb

4
app/views/locations/index.html.erb

@ -10,8 +10,6 @@
<% location_caption = @scheme.locations.count.eql?(1) ? "1 location" : "#{@scheme.locations.count} locations" %>
<%= render SubNavigationComponent.new(items: scheme_items(request.path, @scheme.id, location_caption)) %>
<div class="govuk-grid-row">
<div class="govuk-grid-column-three-quarters">
<%= govuk_table do |table| %>
<%= table.caption(classes: %w[govuk-!-font-size-19 govuk-!-font-weight-regular]) do |caption| %>
<strong><%= @scheme.locations.count %></strong> <%= @scheme.locations.count.eql?(1) ? "location" : "locations" %>.
@ -43,7 +41,5 @@
<% end %>
<% end %>
<% end %>
</div>
</div>
<%== render partial: "pagy/nav", locals: { pagy: @pagy, item_name: "locations" } %>

Loading…
Cancel
Save