I have created this form for my navigation bar:
& lt; Form action = "/ session" method = "post" class = "well form-inline" & gt; & Lt; Input id = "user_email" name = "user [email]" type = "text" placeholder = "email" & gt; & Lt; Input id = "user_password" name = "user [password]" type = "password" placeholder = "password" & gt; & Lt; Label class = "checkbox" & gt; & Lt; Input type = "checkbox" & gt; Me & lt; / Labels & gt; Remember & lt; Button name = "commit" type = "submit" class = "btn" & gt; Sign in & lt; / Button & gt; & Lt; / Form & gt; This form is located on the navigation bar, and I have to ask it to go to session controller and use create action . How is this done? I search for days! ......
Is this confusion? If so, then you should use Form_ and it should only give objects of sessions. See.
Comments
Post a Comment