summaryrefslogtreecommitdiff
path: root/app/views/sessions
diff options
context:
space:
mode:
authorDavisLWebb <davislwebb@ymail.com>2014-03-02 18:14:40 -0500
committerDavisLWebb <davislwebb@ymail.com>2014-03-02 18:14:40 -0500
commitd9b9fb1f6da39f45eee62ec13b806847fd23cfb9 (patch)
treecc49c0d6df1d9f688dd3ba84f86e83320d6b28e4 /app/views/sessions
parent9e424027534be31696b5e065e57f65885445cafa (diff)
the users helper wasnt being push
Diffstat (limited to 'app/views/sessions')
-rw-r--r--app/views/sessions/new.html.erb18
1 files changed, 18 insertions, 0 deletions
diff --git a/app/views/sessions/new.html.erb b/app/views/sessions/new.html.erb
new file mode 100644
index 0000000..f942cf6
--- /dev/null
+++ b/app/views/sessions/new.html.erb
@@ -0,0 +1,18 @@
+<h1>Sign in</h1>
+
+<div class="row">
+ <div class="span6 offset3">
+ <%= form_for(:session, url: sessions_path) do |f| %>
+
+ <%= f.label :email %>
+ <%= f.text_field :email %>
+
+ <%= f.label :password %>
+ <%= f.password_field :password %>
+
+ <%= f.submit "Sign in", class: "btn btn-large btn-primary" %>
+ <% end %>
+
+ <p>New user? <%= link_to "Sign up now!", signup_path %></p>
+ </div>
+</div>