闭社主体 forked from https://github.com/tootsuite/mastodon
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.

15 lines
532 B

  1. - if @instance_presenter.open_registrations
  2. = render 'registration'
  3. - else
  4. = link_to t('auth.register_elsewhere'), 'https://joinmastodon.org', class: 'button button-primary'
  5. .closed-registrations-message
  6. - if @instance_presenter.closed_registrations_message.blank?
  7. %p= t('about.closed_registrations')
  8. - else
  9. = @instance_presenter.closed_registrations_message.html_safe
  10. .separator-or
  11. %span= t('auth.or')
  12. = link_to t('auth.login'), new_user_session_path, class: 'button button-alternative-2 webapp-btn'