From 29f6313c9ab906002f0bdd1a1883f5ff04849a7a Mon Sep 17 00:00:00 2001 From: "Dominik M. Kwiatek" Date: Sat, 23 May 2020 14:23:03 +0100 Subject: [PATCH] Show hCaptcha validation errors on registration --- app/views/devise/registrations/new.haml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/devise/registrations/new.haml b/app/views/devise/registrations/new.haml index 99f54267..7caf98fd 100644 --- a/app/views/devise/registrations/new.haml +++ b/app/views/devise/registrations/new.haml @@ -7,6 +7,7 @@ %h1= t('views.sessions.new') = bootstrap_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| = render 'devise/shared/error_messages', resource: resource + = render 'layouts/messages' = f.text_field :screen_name, autofocus: true, label: t('views.settings.account.username') = f.email_field :email, autofocus: false, label: t('views.settings.account.email')