From a8e55652640f8a4b0031960e1f638f06f1327c92 Mon Sep 17 00:00:00 2001 From: Manny Dinssa <44172848+Dinssa@users.noreply.github.com> Date: Fri, 4 Oct 2024 10:06:36 +0100 Subject: [PATCH] Correct (hidden) tabs title on organisation page --- app/views/organisations/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/organisations/index.html.erb b/app/views/organisations/index.html.erb index 3b96288f1..411d792c1 100644 --- a/app/views/organisations/index.html.erb +++ b/app/views/organisations/index.html.erb @@ -6,7 +6,7 @@ <%= render partial: "organisations/headings", locals: request.path == organisations_path ? { main: "Organisations", sub: nil } : { main: @organisation.name, sub: "Organisations" } %>
- <%= govuk_tabs(title: "Collection resources", classes: %w[app-tab__large-headers]) do |c| %> + <%= govuk_tabs(title: "Organisations", classes: %w[app-tab__large-headers]) do |c| %> <% c.with_tab(label: "All organisations") do %> <%= govuk_button_link_to "Create a new organisation", new_organisation_path, html: { method: :get } %> <%= render SearchComponent.new(current_user:, search_label: "Search by organisation name", value: @searched) %>