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.

19 lines
787 B

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