|
|
|
@ -14,7 +14,8 @@
|
|
|
|
|
.rules-list__text= rule.text
|
|
|
|
|
|
|
|
|
|
.stacked-actions
|
|
|
|
|
= link_to t('auth.rules.accept'), new_user_registration_path(accept: @accept_token), class: 'button'
|
|
|
|
|
- accept_path = @invite_code.present? ? public_invite_url(invite_code: @invite_code, accept: @accept_token) : new_user_registration_path(accept: @accept_token)
|
|
|
|
|
= link_to t('auth.rules.accept'), accept_path, class: 'button'
|
|
|
|
|
= link_to t('auth.rules.back'), root_path, class: 'button button-tertiary'
|
|
|
|
|
|
|
|
|
|
.form-footer= render 'auth/shared/links'
|
|
|
|
|