From 1c42261f2ac37ed2906cf3d7aee42903a1227cdd Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Fri, 19 Apr 2024 14:42:10 +0300 Subject: [PATCH] Tweak honeypot field for volunteers --- lib/initfest/views/public/volunteers/_form.slim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/initfest/views/public/volunteers/_form.slim b/lib/initfest/views/public/volunteers/_form.slim index 20bee55..a42fdfa 100644 --- a/lib/initfest/views/public/volunteers/_form.slim +++ b/lib/initfest/views/public/volunteers/_form.slim @@ -9,7 +9,7 @@ = f.hidden_field :picture, value: @volunteer.picture.signed_id if @volunteer.picture.attached? = f.input :picture, as: :file, required: false, direct: true, wrapper: false, input_html: {direct_upload: true} - = text_field :volunteer_ht, :full_name, class: 'special-form-field', tabindex: "-1", "aria-hidden": true + = text_field :volunteer_ht, :full_name, class: 'special-form-field', tabindex: "-1", "aria-hidden": true, role: "presentation", autocomplete: "off" = label :volunteer_ht, :full_name, 'Full Name', class: 'special-form-field', "aria-hidden": true = f.input :name, autofocus: true