From 45c9d1e7bbc8d86a1a4f22dfd910dd7aacf42a1a Mon Sep 17 00:00:00 2001 From: Luc Didry Date: Thu, 3 Nov 2016 17:29:35 +0100 Subject: Fix no "Register" tab if ldap auth is enabled (#24038) This commit is dedicated to GuilhemB, thanks for supporting me on Tipeee :-) --- app/views/devise/shared/_tabs_ldap.html.haml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/views/devise/shared/_tabs_ldap.html.haml') diff --git a/app/views/devise/shared/_tabs_ldap.html.haml b/app/views/devise/shared/_tabs_ldap.html.haml index 1e957f0935f..aec1b31ce62 100644 --- a/app/views/devise/shared/_tabs_ldap.html.haml +++ b/app/views/devise/shared/_tabs_ldap.html.haml @@ -8,3 +8,6 @@ - if signin_enabled? %li = link_to 'Standard', '#ldap-standard', 'data-toggle' => 'tab' + - if signin_enabled? && signup_enabled? + %li + = link_to 'Register', '#register-pane', 'data-toggle' => 'tab' -- cgit v1.2.1