Show hCaptcha validation errors on registration

This commit is contained in:
Dominik M. Kwiatek 2020-05-23 14:23:03 +01:00
parent 1ac7c35315
commit 29f6313c9a
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@
%h1= t('views.sessions.new') %h1= t('views.sessions.new')
= bootstrap_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| = bootstrap_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f|
= render 'devise/shared/error_messages', resource: resource = render 'devise/shared/error_messages', resource: resource
= render 'layouts/messages'
= f.text_field :screen_name, autofocus: true, label: t('views.settings.account.username') = 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') = f.email_field :email, autofocus: false, label: t('views.settings.account.email')