From d9b9fb1f6da39f45eee62ec13b806847fd23cfb9 Mon Sep 17 00:00:00 2001 From: DavisLWebb Date: Sun, 2 Mar 2014 18:14:40 -0500 Subject: the users helper wasnt being push --- app/helpers/users_helper.rb | 2 ++ app/views/sessions/new.html.erb | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 app/helpers/users_helper.rb create mode 100644 app/views/sessions/new.html.erb diff --git a/app/helpers/users_helper.rb b/app/helpers/users_helper.rb new file mode 100644 index 0000000..2310a24 --- /dev/null +++ b/app/helpers/users_helper.rb @@ -0,0 +1,2 @@ +module UsersHelper +end 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 @@ +

Sign in

+ +
+
+ <%= 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 %> + +

New user? <%= link_to "Sign up now!", signup_path %>

+
+
-- cgit v1.2.3-2-g168b