summaryrefslogtreecommitdiff
path: root/app/views/sessions/new.html.erb
diff options
context:
space:
mode:
authorguntasgrewal <guntasgrewal@gmail.com>2014-03-04 15:25:58 -0500
committerguntasgrewal <guntasgrewal@gmail.com>2014-03-04 15:25:58 -0500
commite4ae559d8189519586e044238196ee45b2a10c6b (patch)
tree3d4977292aa234ea93ce604095f13d50484250a1 /app/views/sessions/new.html.erb
parent2f450dd30bb210fdc4cb8899c72e6da945a163ba (diff)
parentda95cb4f0f48731c2713c61f17b522b048647fd1 (diff)
Merge branch 'master' of https://github.com/LukeShu/leaguer
Conflicts: app/assets/stylesheets/scaffolds.css.scss app/views/layouts/application.html.erb db/migrate/20140304043618_create_servers.rb db/migrate/20140304043622_create_matches.rb db/migrate/20140304043631_create_games.rb
Diffstat (limited to 'app/views/sessions/new.html.erb')
-rw-r--r--app/views/sessions/new.html.erb6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/sessions/new.html.erb b/app/views/sessions/new.html.erb
index f942cf6..a820b2f 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| %>
@@ -13,6 +15,6 @@
<%= f.submit "Sign in", class: "btn btn-large btn-primary" %>
<% end %>
- <p>New user? <%= link_to "Sign up now!", signup_path %></p>
+ <p>New user? <%= link_to "Sign up now!", new_user_path %></p>
</div>
</div>