Skip to content

Commit

Permalink
Disables autocorrect/autocapitalize on remote username field. (mastod…
Browse files Browse the repository at this point in the history
  • Loading branch information
ashfurrow authored and Gargron committed May 19, 2018
1 parent 4e1400c commit 50db106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/remote_follow/new.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 50db106

Please sign in to comment.