File tree Expand file tree Collapse file tree
views/parent_interface/consent_forms/edit Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,18 +10,17 @@ class AppImportErrorsComponent < ViewComponent::Base
1010
1111 <%= content %>
1212
13- < div data-qa ="import-errors ">
13+ < div data-testid ="import-errors ">
1414 <% @errors . each do |error | %>
15- < h3 class ="nhsuk-heading-s " data-qa ="import-errors__heading ">
15+ < h3 class ="nhsuk-heading-s " data-testid ="import-errors__heading ">
1616 <% if error . attribute == :csv %>
1717 CSV
1818 <% else %>
1919 <%= error . attribute . to_s . humanize %>
2020 <% end %>
2121 </ h3 >
2222
23- < ul class ="nhsuk-list nhsuk-list--bullet "
24- data-qa ="import-errors__list ">
23+ < ul class ="nhsuk-list nhsuk-list--bullet " data-testid ="import-errors__list ">
2524 <% if error . type . is_a? ( Array ) %>
2625 <% error . type . each do |type | %>
2726 < li > <%= sanitize type %> </ li >
Original file line number Diff line number Diff line change 66
77<%= govuk_inset_text classes: "nhsuk-u-margin-top-2 nhsuk-u-margin-bottom-4" do %>
88 <p >
9- < span class ="nhsuk-heading-m nhsuk-u-margin-bottom-0 " data-qa ="school-name ">
9+ < span class ="nhsuk-heading-m nhsuk-u-margin-bottom-0 " data-testid ="school-name ">
1010 <%= @consent_form . location . name %>
1111 </ span >
1212 <%= format_address_single_line ( @consent_form . location ) %>
You can’t perform that action at this time.
0 commit comments