You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
669 B

  1. .form-container
  2. .follow-prompt
  3. %h2= t('remote_follow.prompt')
  4. = render partial: 'authorize_follows/card', locals: { account: @account }
  5. = simple_form_for @remote_follow, as: :remote_follow, url: account_remote_follow_path(@account) do |f|
  6. = render 'shared/error_messages', object: @remote_follow
  7. = f.input :acct, placeholder: t('remote_follow.acct'), input_html: { autocapitalize: 'none', autocorrect: 'off' }
  8. .actions
  9. = f.button :button, t('remote_follow.proceed'), type: :submit
  10. %p.hint.subtle-hint= t('remote_follow.no_account_html', sign_up_path: open_registrations? ? new_user_registration_path : 'https://joinmastodon.org')