summaryrefslogtreecommitdiff
path: root/app/views/sessions/new.html.erb
diff options
context:
space:
mode:
authorTomer Kimia <tkimia@purdue.edu>2014-03-03 21:49:38 -0500
committerTomer Kimia <tkimia@purdue.edu>2014-03-03 21:49:38 -0500
commit661dbaf902d770dfbefa9ba1d9e4c28fc7abf891 (patch)
tree3fe6cba03179cc7d9f515a024b1fec31885ab823 /app/views/sessions/new.html.erb
parentd5f15d40e0c0168bb430ebae39371590266d0eb5 (diff)
small things
Diffstat (limited to 'app/views/sessions/new.html.erb')
-rw-r--r--app/views/sessions/new.html.erb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/sessions/new.html.erb b/app/views/sessions/new.html.erb
index f942cf6..2e7a0d3 100644
--- a/app/views/sessions/new.html.erb
+++ b/app/views/sessions/new.html.erb
@@ -1,5 +1,7 @@
<h1>Sign in</h1>
-
+<% if @fail %>
+ <p class="error">Email and password combination not found</p>
+<% end %>
<div class="row">
<div class="span6 offset3">
<%= form_for(:session, url: sessions_path) do |f| %>