|
|
@ -67,10 +67,7 @@ |
|
|
|
<% component.tab(label: "Locations") do %> |
|
|
|
<% component.tab(label: "Locations") do %> |
|
|
|
<%= govuk_table do |table| %> |
|
|
|
<%= govuk_table do |table| %> |
|
|
|
<%= table.caption(classes: %w[govuk-!-font-size-19 govuk-!-font-weight-regular]) do |caption| %> |
|
|
|
<%= table.caption(classes: %w[govuk-!-font-size-19 govuk-!-font-weight-regular]) do |caption| %> |
|
|
|
<%= location_caption %> |
|
|
|
<%= render(SearchResultCaptionComponent.new(searched: nil, count: 1, item_label: "location", total_count: @scheme.locations.count, item: "schemes", path: request.path)) %> |
|
|
|
<% end %> |
|
|
|
|
|
|
|
<%= table.caption(classes: %w[govuk-!-font-size-19 govuk-!-font-weight-regular]) do |caption| %> |
|
|
|
|
|
|
|
<%= render(SearchResultCaptionComponent.new(searched:, count: pagy.count, item_label:, total_count:, item: "schemes", path: request.path)) %> |
|
|
|
|
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
<%= table.head do |head| %> |
|
|
|
<%= table.head do |head| %> |
|
|
|
<%= head.row do |row| %> |
|
|
|
<%= head.row do |row| %> |
|
|
|