From 9a03507a0c004f7e93244b02ede2f4f80b00489e Mon Sep 17 00:00:00 2001 From: Alberto Garcia Cabeza Date: Tue, 7 Feb 2017 20:11:55 +0100 Subject: [PATCH] adds autocomplete off and type number on officing residence form --- app/views/officing/residence/new.html.erb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/officing/residence/new.html.erb b/app/views/officing/residence/new.html.erb index 18e19f3b2..a508fae52 100644 --- a/app/views/officing/residence/new.html.erb +++ b/app/views/officing/residence/new.html.erb @@ -11,11 +11,12 @@ <%= f.text_field :document_number, - placeholder: t("officing.residence.new.document_number") %> + placeholder: t("officing.residence.new.document_number"), + autocomplete: "off" %>
- <%= f.text_field :year_of_birth %> + <%= f.text_field :year_of_birth, type: "number", autocomplete: "off" %>