|
|
|
@ -7,8 +7,14 @@
|
|
|
|
|
.simple_form
|
|
|
|
|
= render 'auth/shared/progress', stage: 'rules'
|
|
|
|
|
|
|
|
|
|
%h1.title= t('auth.rules.title')
|
|
|
|
|
%p.lead= t('auth.rules.preamble', domain: site_hostname)
|
|
|
|
|
- if @invite.present? && @invite.autofollow?
|
|
|
|
|
%h1.title= t('auth.rules.title_invited')
|
|
|
|
|
%p.lead.invited-by= t('auth.rules.invited_by', domain: site_hostname)
|
|
|
|
|
= render 'application/card', account: @invite.user.account, compact: true
|
|
|
|
|
%p.lead= t('auth.rules.preamble_invited', domain: site_hostname)
|
|
|
|
|
- else
|
|
|
|
|
%h1.title= t('auth.rules.title')
|
|
|
|
|
%p.lead= t('auth.rules.preamble', domain: site_hostname)
|
|
|
|
|
|
|
|
|
|
%ol.rules-list
|
|
|
|
|
- @rules.each do |rule|
|
|
|
|
|