Well I have added <% less_form_for @user, :url => login_path, :method
=> :post do |f| %>
but get the same runtime error. I'll try on the ROR group, any other
suggestions would be great.
Maybe the URL needs be changed?
I tried changing it to home_path since it'll be on the index, but that
didn't work either.

On May 31, 8:20 am, Steven Bristol <[email protected]> wrote:
> On Sat, May 29, 2010 at 12:50 PM, ruthmann88 <[email protected]> wrote:
> > Hi,
>
> > New to ruby on rails, read up quite a bit and still feel a bit lost.
> > I'm trying to move the login (login.html.erb) onto the main index.
> > I thought it would be as easy as moving the login form code:
>
> >  <%= f.text_field :login, :class => "focus_first" %>
> >  <%= f.password_field :password %>
> >  <%= f.wrap(:remember_me, :for => :remember_me){ check_box_tag
> > 'remember_me',1,false, :class=>"checkbox" } %>
>
> > to the index, obviously I see I'm wrong. Any help or a point in the
> > right direction
> > would be great.
>
> > Thank you
>
> It looks like you are not moving the form tag. This is really a
> general ruby on rails question, please try in the ruby on rails group.
>
> cheers,
> steven bristol

-- 
You received this message because you are subscribed to the Google
Groups "Lovd by Less" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/lovdbyless?hl=en
Who loves ya baby?

Reply via email to