diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-11-23 19:03:01 +0100 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2019-11-23 19:03:01 +0100 |
commit | c0f7e21685bbb6b40fdb6f042b8a7ec1054178f2 (patch) | |
tree | ac404a0b3326b9187967128058fc52d5bbacb3c3 /app/views/about | |
parent | 55f5e81a9dc4c6cede5d43e549061be2ea9be614 (diff) | |
parent | 054ef83fc5808596643dd366286b4e85446b850c (diff) |
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'app/views/about')
-rw-r--r-- | app/views/about/_registration.html.haml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app/views/about/_registration.html.haml b/app/views/about/_registration.html.haml index 1333c68c4..af28e2174 100644 --- a/app/views/about/_registration.html.haml +++ b/app/views/about/_registration.html.haml @@ -1,5 +1,5 @@ -= simple_form_for(new_user, url: user_registration_path, namespace: 'registration') do |f| - .simple_form__overlay-area +.simple_form__overlay-area{ class: (closed_registrations? && @instance_presenter.closed_registrations_message.present?) ? 'simple_form__overlay-area__blurred' : '' } + = simple_form_for(new_user, url: user_registration_path, namespace: 'registration') do |f| %p.lead= t('about.federation_hint_html', instance: content_tag(:strong, site_hostname)) .fields-group @@ -21,8 +21,8 @@ .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 + - 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 |