scube-server/app/views/sessions/new.html.haml
2011-09-07 21:13:20 +00:00

15 lines
312 B
Plaintext

= form_for(:session, :url => sessions_path) do |f|
%table
%tbody
%tr
%th= f.label :email
%td= f.text_field :email
%tr
%th= f.label :password
%td= f.password_field :password
%tfoot
%tr
%td= f.submit 'Sign in'
= link_to 'Sign up', new_user_path