diff --git a/app/views/user_sessions/new.html.haml b/app/views/user_sessions/new.html.haml index 5de4a16b..e124f666 100644 --- a/app/views/user_sessions/new.html.haml +++ b/app/views/user_sessions/new.html.haml @@ -1,15 +1,15 @@ %h1= h(_('Welcome to %{Quorum}!')) % {:Quorum => content_tag(:span, h(SITE_TITLE), :class => :siteName)} %p= h(_('This is %{Quorum}, an invitation and scheduling system. If you have an account, please log in here; otherwise, please %{link}register%{_link}.')) % {:Quorum => content_tag(:span, h(SITE_TITLE), :class => :siteName), :link => "", :'_link' => ''} -- form_tag session_path do +- form_for @user_session, :url => user_session_path do |f| %table.login %tr %td %label{:for => "email"}&= _("E-mail address:") - %td= text_field_tag 'email' + %td= f.text_field :email, :size => nil %tr %td %label{:for => "password"}&= _("Password:") - %td= password_field_tag 'password' + %td= f.password_field :password, :size => nil - if false / Uncomment this if you want this functionality