GRN2-xx: Hide signin when error occures (#2221)

* Hide signin when error occures

* Rubocop fixes
This commit is contained in:
Ahmad Farhat
2020-10-23 10:01:19 -04:00
committed by GitHub
parent 0801c626c5
commit 0ff938a0fd
3 changed files with 26 additions and 5 deletions

View File

@ -88,7 +88,7 @@
<% end %>
</div>
</div>
<% else %>
<% elsif show_signin %>
<% allow_greenlight_accounts = allow_greenlight_accounts? %>
<% if allow_greenlight_accounts %>
<%= link_to t("login"), signin_path, :class => "btn btn-outline-primary mx-2 sign-in-button" %>