new.html.haml 769 B

12345678910111213141516171819202122
  1. - content_for :page_title do
  2. = t('authorize_follow.title', acct: @account.acct)
  3. .form-container
  4. .follow-prompt
  5. %h2= t('authorize_follow.prompt_html', self: current_account.username)
  6. .account-card
  7. .detailed-status__display-name
  8. %div
  9. = image_tag @account.avatar.url(:original), alt: '', width: 48, height: 48, class: 'avatar'
  10. %span.display-name
  11. %strong= display_name(@account)
  12. %span= "@#{@account.acct}"
  13. - unless @account.note.blank?
  14. .account__header__content= Formatter.instance.simplified_format(@account)
  15. = form_tag authorize_follow_path, method: :post, class: 'simple_form' do
  16. = hidden_field_tag :acct, @account.acct
  17. = button_tag t('authorize_follow.follow'), type: :submit