new.html.haml 905 B

123456789101112131415161718192021
  1. .form-container
  2. .follow-prompt
  3. %h2= t("remote_interaction.#{@interaction_type}.prompt")
  4. .public-layout
  5. .activity-stream.activity-stream--highlighted
  6. = render 'stream_entries/status', status: @status
  7. = simple_form_for @remote_follow, as: :remote_follow, url: remote_interaction_path(@status) do |f|
  8. = render 'shared/error_messages', object: @remote_follow
  9. = hidden_field_tag :type, @interaction_type
  10. = f.input :acct, placeholder: t('remote_follow.acct'), input_html: { autocapitalize: 'none', autocorrect: 'off' }
  11. .actions
  12. = f.button :button, t("remote_interaction.#{@interaction_type}.proceed"), type: :submit
  13. %p.hint.subtle-hint
  14. = t('remote_follow.reason_html', instance: site_hostname)
  15. = t('remote_follow.no_account_html', sign_up_path: open_registrations? ? new_user_registration_path : 'https://joinmastodon.org/#getting-started')