Skip to content

Commit

Permalink
Remove duplicate alert from log in form
Browse files Browse the repository at this point in the history
  • Loading branch information
artplan1 committed Apr 13, 2018
1 parent e27a0d9 commit 1734c50
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions lib/views/frontend/spree/user_sessions/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,13 @@
<h3 class="panel-title"><%= Spree.t(:login_as_existing) %></h3>
</div>
<div id="existing-customer" class="panel-body" data-hook="login">
<% if flash[:alert] %>
<div class="alert alert-danger"><%= flash[:alert] %></div>
<% end %>
<%= render :partial => 'spree/shared/login' %>
<div class="text-center">
<%= Spree.t(:or) %>
<%= Spree.t(:or) %>
<%= link_to Spree.t(:create_a_new_account), spree.signup_path %> |
<%= link_to Spree.t(:forgot_password), spree.recover_password_path %>
</div>
<div data-hook="login_extras"></div>
</div>
</div>
</div>
</div>

0 comments on commit 1734c50

Please sign in to comment.