I have this: <%= link_to_remote ''Remove'', :url => {:controller => ''steps'', :action => ''removestep'', :id => @mop}, :with => "''step_id='' + # {step.id}", :src => ''/images/Trash_can.gif'' %></span> I am not getting an image. Is this the correct way to make a link_to_remote with a gif? --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
> <%= link_to_remote ''Remove'', :url => {:controller => ''steps'', :action > => ''removestep'', :id => @mop}, :with => "''step_id='' + # > {step.id}", :src => ''/images/Trash_can.gif'' %></span> > > I am not getting an image. Is this the correct way to make a > link_to_remote with a gif?Newp. link_to_remote image_tag(''/images/Trash_can.gif''), :blah => ''blah blah'' --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
ok, thanks. On Apr 17, 2:55 pm, "Phlip" <phlip2...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > <%= link_to_remote ''Remove'', :url => {:controller => ''steps'', :action > > => ''removestep'', :id => @mop}, :with => "''step_id='' + # > > {step.id}", :src => ''/images/Trash_can.gif'' %></span> > > > I am not getting an image. Is this the correct way to make a > > link_to_remote with a gif? > > Newp. > > link_to_remote image_tag(''/images/Trash_can.gif''), > :blah => ''blah blah''--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---