Link to home
Start Free TrialLog in
Avatar of singsunn
singsunn

asked on

rails 2.3.x link_to tag

I have this in the view

<%= link_to 'Rename', :controller => 'ocrs', :action => 'rename_file', :query => file_name %>

when i click on the link, i want it to show a prompt box ( just like :confirm =>'Are you sure', :method =>delete) but instead of yes/no , i want the user to input something in that box. ( the name the file is going to be renamed to), and that entry to be available in the controller/action (ocrs / rename_file) .
ASKER CERTIFIED SOLUTION
Avatar of Kiran Sonawane
Kiran Sonawane
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial