Hide register button in simple layout when registrations are disabled
This commit is contained in:
parent
8180fe683c
commit
a07c5b962a
|
@ -13,6 +13,7 @@
|
||||||
DEV
|
DEV
|
||||||
%p.lead= APP_CONFIG["site_tagline"]
|
%p.lead= APP_CONFIG["site_tagline"]
|
||||||
.col-md-4
|
.col-md-4
|
||||||
|
- if Retrospring::Config.registrations_enabled?
|
||||||
%a.btn.btn-primary.d-grid{ href: url_for(new_user_registration_path) }
|
%a.btn.btn-primary.d-grid{ href: url_for(new_user_registration_path) }
|
||||||
= t("voc.register_now")
|
= t("voc.register_now")
|
||||||
.d-block.text-center.py-2.text-secondary
|
.d-block.text-center.py-2.text-secondary
|
||||||
|
|
Loading…
Reference in New Issue