Displaying 1 result from an estimated 1 matches for "admin_category_path".
2010 May 22
3
Rails 3: link_to with "data-confirm"
...in Rails3? It seems when you create a link with instead of
link text, an image, the confirm message isn''t shown.
<%=
link_to(
image_tag("delete.png", :alt =>
t("helpers.label.destroy")),
admin_category_path(:id => record, :format =>
:js),
"data-method" => "delete",
"data-confirm" => "#{t("categories.delete")}",
:remote => true
)
%>
The...