« Return to Thread: link_to, how do you combine url options and html_options?

Re: link_to, how do you combine url options and html_options?

by Adam Akhtar-2 :: Rate this Message:

Reply to Author | View in Thread


<%= link_to('Your Link', your_controller_path, :confirm => 'Are you
sure?',
  :method => :post, :id => "css_id", :class => "css_class") %>

--
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

 « Return to Thread: link_to, how do you combine url options and html_options?