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?
Phlip
(Phlip)
2
<%= 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'