Skip to content

Commit

Permalink
Change login form to submit properly to Authlogic. [#19]
Browse files Browse the repository at this point in the history
  • Loading branch information
marnen committed Oct 13, 2009
1 parent 8ce386f commit 40971db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions 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 => "<a href='#{register_url}'>", :'_link' => '</a>'}
- 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
Expand Down

0 comments on commit 40971db

Please sign in to comment.