about summary refs log tree commit diff
path: root/app/views/remote_follow
diff options
context:
space:
mode:
authorAsh Furrow <ash@ashfurrow.com>2018-05-19 13:36:23 -0400
committerEugen Rochko <eugen@zeonfederated.com>2018-05-19 19:36:23 +0200
commit50db1062521b1e436fc090483ad49acf8de8340d (patch)
tree5f40e87b8f8cc211b8cff9391197219844586490 /app/views/remote_follow
parent4e1400cecb33743335fcf88b4d128aa1954c6c63 (diff)
Disables autocorrect/autocapitalize on remote username field. (#7549)
Diffstat (limited to 'app/views/remote_follow')
-rw-r--r--app/views/remote_follow/new.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/remote_follow/new.html.haml b/app/views/remote_follow/new.html.haml
index fa48e5e62..fc5c4da20 100644
--- a/app/views/remote_follow/new.html.haml
+++ b/app/views/remote_follow/new.html.haml
@@ -7,7 +7,7 @@
   = simple_form_for @remote_follow, as: :remote_follow, url: account_remote_follow_path(@account) do |f|
     = render 'shared/error_messages', object: @remote_follow
 
-    = f.input :acct, placeholder: t('remote_follow.acct')
+    = f.input :acct, placeholder: t('remote_follow.acct'), input_html: { autocapitalize: 'none', autocorrect: 'off' }
 
     .actions
       = f.button :button, t('remote_follow.proceed'), type: :submit