闭社主体 forked from https://github.com/tootsuite/mastodon
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.

20 lines
757 B

  1. - content_for :header_tags do
  2. %meta{ name: 'robots', content: 'noindex' }/
  3. .form-container
  4. .follow-prompt
  5. %h2= t('remote_follow.prompt')
  6. = render partial: 'application/card', locals: { account: @account }
  7. = simple_form_for @remote_follow, as: :remote_follow, url: account_remote_follow_path(@account) do |f|
  8. = render 'shared/error_messages', object: @remote_follow
  9. = f.input :acct, placeholder: t('remote_follow.acct'), input_html: { autocapitalize: 'none', autocorrect: 'off' }
  10. .actions
  11. = f.button :button, t('remote_follow.proceed'), type: :submit
  12. %p.hint.subtle-hint
  13. = t('remote_follow.reason_html', instance: site_hostname)
  14. = t('remote_follow.no_account_html', sign_up_path: available_sign_up_path)