about summary refs log tree commit diff
path: root/app/views/about
diff options
context:
space:
mode:
authorkoyu <me@koyu.space>2019-03-24 05:00:02 +0100
committerEugen Rochko <eugen@zeonfederated.com>2019-03-24 05:00:02 +0100
commit0f9278c3d35819635504d397ce43823c0ee1125c (patch)
tree896046db8af4632101d2b3b3e7c69ac3cae4afad /app/views/about
parent9ec98893f4974bb022a722c3163a7e578b1d5ce9 (diff)
Don't autofocus registration form (#10356)
Diffstat (limited to 'app/views/about')
-rw-r--r--app/views/about/_registration.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/about/_registration.html.haml b/app/views/about/_registration.html.haml
index 4823ff375..09cbe2e28 100644
--- a/app/views/about/_registration.html.haml
+++ b/app/views/about/_registration.html.haml
@@ -4,7 +4,7 @@
 
     .fields-group
       = f.simple_fields_for :account do |account_fields|
-        = account_fields.input :username, wrapper: :with_label, autofocus: true, label: false, required: true, input_html: { 'aria-label' => t('simple_form.labels.defaults.username'), :autocomplete => 'off', placeholder: t('simple_form.labels.defaults.username') }, append: "@#{site_hostname}", hint: false, disabled: closed_registrations?
+        = account_fields.input :username, wrapper: :with_label, label: false, required: true, input_html: { 'aria-label' => t('simple_form.labels.defaults.username'), :autocomplete => 'off', placeholder: t('simple_form.labels.defaults.username') }, append: "@#{site_hostname}", hint: false, disabled: closed_registrations?
 
       = f.input :email, placeholder: t('simple_form.labels.defaults.email'), required: true, input_html: { 'aria-label' => t('simple_form.labels.defaults.email'), :autocomplete => 'off' }, hint: false, disabled: closed_registrations?
       = f.input :password, placeholder: t('simple_form.labels.defaults.password'), required: true, input_html: { 'aria-label' => t('simple_form.labels.defaults.password'), :autocomplete => 'off' }, hint: false, disabled: closed_registrations?