new.html.haml 905 B

123456789101112131415161718192021222324
  1. - content_for :header_tags do
  2. %meta{ name: 'robots', content: 'noindex' }/
  3. .form-container
  4. .follow-prompt
  5. %h2= t("remote_interaction.#{@interaction_type}.prompt")
  6. .public-layout
  7. .activity-stream.activity-stream--highlighted
  8. = render 'statuses/status', status: @status
  9. = simple_form_for @remote_follow, as: :remote_follow, url: remote_interaction_path(@status) do |f|
  10. = render 'shared/error_messages', object: @remote_follow
  11. = hidden_field_tag :type, @interaction_type
  12. = f.input :acct, placeholder: t('remote_follow.acct'), input_html: { autocapitalize: 'none', autocorrect: 'off' }
  13. .actions
  14. = f.button :button, t("remote_interaction.#{@interaction_type}.proceed"), type: :submit
  15. %p.hint.subtle-hint
  16. = t('remote_follow.reason_html', instance: site_hostname)
  17. = t('remote_follow.no_account_html', sign_up_path: available_sign_up_path)