Browse Source

Merge pull request #521 from communitiesuk/bug/cldc-1179-cya-change-links

CLDC-1179: cya change link text
pull/530/head
Kidd Hustle 3 years ago committed by GitHub
parent
commit
6278fe15de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/views/organisations/show.html.erb

2
app/views/organisations/show.html.erb

@ -13,7 +13,7 @@
<% row.key { attr[:name].to_s.humanize } %> <% row.key { attr[:name].to_s.humanize } %>
<% row.value { details_html(attr) } %> <% row.value { details_html(attr) } %>
<% row.action( <% row.action(
visually_hidden_text: "name", visually_hidden_text: attr[:name].to_s.humanize.downcase,
href: edit_organisation_path, href: edit_organisation_path,
html_attributes: { "data-qa": "change-#{attr[:name]}" }, html_attributes: { "data-qa": "change-#{attr[:name]}" },
) %> ) %>

Loading…
Cancel
Save