The working basics
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
= form_tag user_sessions_path, :method => :post do
|
||||
= field :email, :email_field
|
||||
= field :password, :password_field_tag
|
||||
= actions :sign_in
|
||||
@@ -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
|
||||
@@ -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'
|
||||
Reference in New Issue
Block a user