* Add User model * Add SessionsController * Add password authentication on User * Request authentication for all actions except sign in * Add some helpers for ApplicationController * Update features to work with mandatory authentication
7 lines
170 B
Plaintext
7 lines
170 B
Plaintext
= 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'
|