From c37f81932f0045adf447b184a3ba6727c2e1a3ae Mon Sep 17 00:00:00 2001 From: kiddhustle Date: Wed, 27 Apr 2022 10:42:00 +0100 Subject: [PATCH] CLDC-1179: cya change link text --- app/views/organisations/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/organisations/show.html.erb b/app/views/organisations/show.html.erb index d59761d27..2086e76d4 100644 --- a/app/views/organisations/show.html.erb +++ b/app/views/organisations/show.html.erb @@ -14,7 +14,7 @@ <% row.key { attr[:name].to_s.humanize } %> <% row.value { details_html(attr) } %> <% row.action( - visually_hidden_text: "name", + visually_hidden_text: attr[:name].to_s.humanize.downcase, href: edit_organisation_path, html_attributes: { "data-qa": "change-#{attr[:name]}" }, ) %>