Skip to content

Commit 5826d05

Browse files
committed
Improve NHS number error content
If the length of the NHS number is not 10 characters, the user should see an error messages that matches our existing content.
1 parent 6047167 commit 5826d05

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

config/locales/en.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,7 @@ en:
357357
attributes:
358358
nhs_number:
359359
invalid: Enter a valid NHS number
360+
wrong_length: Enter a valid NHS number with 10 characters
360361
taken: NHS number is already assigned to a different patient
361362
programme:
362363
attributes:

0 commit comments

Comments
 (0)