Hi,
    

Please correct me if i did any mistake in below.while debugging the params in 
the "login" action . I got only controller name and action name.
  
<table align=center>
<%= form_remote_tag (:url => {:controller => 'auth', :action => 
"login"},:update => "main") %>
<tr>
        <td>User name</td>
        <td><%= text_field 'user','name' %></td>
</tr>
<tr>
        <td>Password</td>
        <td><%= password_field 'user','password' %></td>
</tr>
<tr>
        <td>
        <%=submit_tag 'Login'%>
        <%=submit_tag "Reset",:type => 'reset' %>
        </td>
</tr>
<%=end_form_tag%>
</table>

<div id ="main">
</div>

Thanks
Sarathy

>
>
>Hi Sarathy,
>
>Give more information about code.Without code we can't tell where u
>did mistake.
>
>this is basic syntax of form_remote_ tag:
>
><%= form_remote_ tag(:url => {:controller => :reviews, :action =>
>:add_tag, :id => review_id}) %>
>
>...........code.........
>
></form>
>
>Thanks
>Ravi Katta
>

Reply via email to