|
|
|
@ -1,4 +1,5 @@
|
|
|
|
|
= simple_form_for(new_user, url: user_registration_path) do |f|
|
|
|
|
|
.simple_form__overlay-area
|
|
|
|
|
%p.lead= t('about.federation_hint_html', instance: content_tag(:strong, site_hostname))
|
|
|
|
|
|
|
|
|
|
.fields-group
|
|
|
|
@ -14,3 +15,9 @@
|
|
|
|
|
|
|
|
|
|
.actions
|
|
|
|
|
= f.button :button, sign_up_message, type: :submit, class: 'button button-primary', disabled: closed_registrations?
|
|
|
|
|
|
|
|
|
|
- if closed_registrations? && @instance_presenter.closed_registrations_message.present?
|
|
|
|
|
.simple_form__overlay-area__overlay
|
|
|
|
|
.simple_form__overlay-area__overlay__content.rich-formatting
|
|
|
|
|
.block-icon= fa_icon 'warning'
|
|
|
|
|
= @instance_presenter.closed_registrations_message.html_safe
|
|
|
|
|