diff options
author | Andrei Gliga <otzy_007@yahoo.com> | 2016-05-11 10:35:18 +0300 |
---|---|---|
committer | Andrei Gliga <otzy_007@yahoo.com> | 2016-05-12 13:44:46 +0300 |
commit | 9079b56bf4f149054e347aa09ad151ab617ef123 (patch) | |
tree | 22a431a57854606f6ef363af37a71842e6e334bb /app/views/admin/application_settings | |
parent | 6bd8d3ad48b9151c0bcb69bfbce0bc2551cdf184 (diff) | |
download | gitlab-ce-9079b56bf4f149054e347aa09ad151ab617ef123.tar.gz |
Revert "no need to show the help about Github or the other authentication sources"
This reverts commit 78a832d0fd7ff445c707809134dbb2a42d2a9e03.
Show help only for the enabled OAuth Providers on oauth-providers-help block
aria: { describedby: help_block_id } instead of 'aria-describedby' => help_block_id
provider and not p
a more simple approach to the OmniAuth helper links for oauth-providers-help
Diffstat (limited to 'app/views/admin/application_settings')
-rw-r--r-- | app/views/admin/application_settings/_form.html.haml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/admin/application_settings/_form.html.haml b/app/views/admin/application_settings/_form.html.haml index 576509e3f2b..f3681bc96e3 100644 --- a/app/views/admin/application_settings/_form.html.haml +++ b/app/views/admin/application_settings/_form.html.haml @@ -116,6 +116,9 @@ .btn-group{ data: { toggle: 'buttons' } } - oauth_providers_checkboxes('oauth-providers-help').each do |source| = source + %span.help-block#oauth-providers-help + Enabled OmniAuth must be configured for + = oauth_providers_with_help_links.to_sentence.html_safe .form-group = f.label :two_factor_authentication, 'Two-factor authentication', class: 'control-label col-sm-2' .col-sm-10 |