From debb9bc9efbe46edd940f0ca8da30ce0ecf0786e Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Fri, 5 Aug 2022 10:39:48 +0100 Subject: [PATCH] Downcase data-qa value --- 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 3227e7b88..5cd8b64e0 100644 --- a/app/views/organisations/show.html.erb +++ b/app/views/organisations/show.html.erb @@ -22,7 +22,7 @@ <% row.action( visually_hidden_text: attr[:name].to_s.humanize.downcase, href: edit_organisation_path, - html_attributes: { "data-qa": "change-#{attr[:name]}" }, + html_attributes: { "data-qa": "change-#{attr[:name].downcase}" }, ) %> <% end %> <% else %>