The working basics

This commit is contained in:
Godwin
2014-03-09 14:43:33 -06:00
parent b490a97852
commit db60933506
628 changed files with 81918 additions and 1060 deletions
+4
View File
@@ -0,0 +1,4 @@
= form_tag user_sessions_path, :method => :post do
= field :email, :email_field
= field :password, :password_field_tag
= actions :sign_in
+2
View File
@@ -0,0 +1,2 @@
%h1 UserSessions#create
%p Find me in app/views/user_sessions/create.html.haml
@@ -0,0 +1,2 @@
%h1 UserSessions#destroy
%p Find me in app/views/user_sessions/destroy.html.haml
+11
View File
@@ -0,0 +1,11 @@
- banner_title 'Login'
.row
.columns.medium-6
= render 'form'
.columns.medium-6
%h2
Create an Account
%p
#{_ 'user.why_register', 'paragraph'}
= render '/users/form'