Nope, parenthesis are OK, but I have managed to make it right, the
correct syntax is this

<code>
<%= link_to vehicle_path(@vehicle), {:method => :delete, :confirm =>
"Are you sure?", :title => "Borrar #{@vehicle.plate}"} do %>
          <%= image_tag "/assets/icons_big/delete.png" %>
          <span>Delete</span>
<% end %>
</code>

without the parenthesis at all and the brackets surrounding html_options
or it doesn´t work.

thanks for all.

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to