From 431ebeda87d30710d75be2f2b17463125e0111f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Thu, 10 Oct 2024 23:38:57 +0200 Subject: [PATCH] Fix missing "for" attribute in document number label Since this attribute was missing, the label wasn't correctly associated with its field. --- app/views/verification/residence/new.html.erb | 2 +- spec/system/verification/residence_spec.rb | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/views/verification/residence/new.html.erb b/app/views/verification/residence/new.html.erb index a0d9b955e..c361d7d4c 100644 --- a/app/views/verification/residence/new.html.erb +++ b/app/views/verification/residence/new.html.erb @@ -38,7 +38,7 @@
- <%= f.label t("verification.residence.new.document_number") %> + <%= f.label :document_number, t("verification.residence.new.document_number") %>