File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
app/views/immunisation_imports Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 5
5
) %>
6
6
<% end %>
7
7
8
- <% title = "The vaccinations could not be added " %>
8
+ <% title = "Vaccination records cannot be uploaded " %>
9
9
10
10
<%= h1 title, page_title: "#{@campaign.name} – #{title}" %>
11
11
12
- <p >
13
- It wasn’t possible to add the vaccinations due to the following errors in the uploaded CSV file:
12
+ <p class ="nhsuk-body ">
13
+ The records cannot be uploaded due to errors in the CSV file.
14
+ When fixing these errors, note that the header does not count as a row.
14
15
</ p >
15
16
16
17
<% @immunisation_import . errors . each do |error | %>
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ def when_i_upload_an_invalid_file
96
96
end
97
97
98
98
def then_i_should_see_the_errors_page
99
- expect ( page ) . to have_content ( "The vaccinations could not be added " )
99
+ expect ( page ) . to have_content ( "Vaccination records cannot be uploaded " )
100
100
expect ( page ) . to have_content ( "Row 1" )
101
101
end
102
102
You can’t perform that action at this time.
0 commit comments