Skip to content

Commit

Permalink
showing alerts to users who fail to authenticate. closes #102
Browse files Browse the repository at this point in the history
  • Loading branch information
zr2d2 committed Jun 8, 2012
1 parent b59ad79 commit 8b2af01
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/views/devise/sessions/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
<%= render 'form' %>
</div>
<% else %>
<% if flash[:alert] %>
<p class="alert"><%= alert %></p>
<% end %>
<section class="C no">
<header>
<%= back_button :back %>
Expand Down

0 comments on commit 8b2af01

Please sign in to comment.