FIXED IT... but I don''t like the fix at all. Too many squiglies...
The fix:
<%= link_to_remote(@user.tags.list_of(:category =>
''location'',
:with_links => false), {:update => ''location'', :url
=> {:action =>
''edit_location''}}, :class =>
''inline_edit'' ) %>
On 9/9/06, John Kopanas <kopanas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Can html_options be sent to link_to_remote?
>
> Here is how I am doing it and it is not working i.e. class="" is
not
> appearing in the <a> tag.
>
> <%= link_to_remote(@user.tags.list_of(:category =>
''location'',
> :with_links => false), :update => ''location'', :url
=> {:action =>
> ''edit_location''}, :class =>
''inline_edit'' ) %>
>
> Doen anyone see what I am doing wrong?
>
> --
> John Kopanas
> john-Iau1QiYlxLpBDgjK7y7TUQ@public.gmane.org
>
--
John Kopanas
john-Iau1QiYlxLpBDgjK7y7TUQ@public.gmane.org
http://www.kopanas.com
http://www.cusec.net
http://www.soen.info
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---