2019-03-11 15:47:50 -04:00
|
|
|
- content_for :header_tags do
|
|
|
|
%meta{ name: 'robots', content: 'noindex' }/
|
|
|
|
|
2018-08-17 21:03:12 -04:00
|
|
|
.form-container
|
|
|
|
.follow-prompt
|
2019-01-07 09:36:26 -05:00
|
|
|
%h2= t("remote_interaction.#{@interaction_type}.prompt")
|
2018-08-17 21:03:12 -04:00
|
|
|
|
|
|
|
.public-layout
|
|
|
|
.activity-stream.activity-stream--highlighted
|
2019-07-07 10:16:51 -04:00
|
|
|
= render 'statuses/status', status: @status
|
2018-08-17 21:03:12 -04:00
|
|
|
|
|
|
|
= simple_form_for @remote_follow, as: :remote_follow, url: remote_interaction_path(@status) do |f|
|
|
|
|
= render 'shared/error_messages', object: @remote_follow
|
|
|
|
|
2019-01-07 09:36:26 -05:00
|
|
|
= hidden_field_tag :type, @interaction_type
|
|
|
|
|
2018-08-17 21:03:12 -04:00
|
|
|
= f.input :acct, placeholder: t('remote_follow.acct'), input_html: { autocapitalize: 'none', autocorrect: 'off' }
|
|
|
|
|
|
|
|
.actions
|
2019-01-07 09:36:26 -05:00
|
|
|
= f.button :button, t("remote_interaction.#{@interaction_type}.proceed"), type: :submit
|
2018-08-17 21:03:12 -04:00
|
|
|
|
2019-01-07 09:36:26 -05:00
|
|
|
%p.hint.subtle-hint
|
|
|
|
= t('remote_follow.reason_html', instance: site_hostname)
|
2019-03-14 00:28:30 -04:00
|
|
|
= t('remote_follow.no_account_html', sign_up_path: available_sign_up_path)
|