Browse Source

Downcase data-qa value

pull/815/head
baarkerlounger 3 years ago
parent
commit
debb9bc9ef
  1. 2
      app/views/organisations/show.html.erb

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

@ -22,7 +22,7 @@
<% row.action( <% row.action(
visually_hidden_text: attr[:name].to_s.humanize.downcase, 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].downcase}" },
) %> ) %>
<% end %> <% end %>
<% else %> <% else %>

Loading…
Cancel
Save