lib/scaffold_logic/helper.rb in scaffold_logic-1.7.6 vs lib/scaffold_logic/helper.rb in scaffold_logic-1.7.7
- old
+ new
@@ -56,10 +56,10 @@
if action == :show
_html << link_to(image_tag('icons/view.png', :class => 'crud_icon', :width => 14, :height => 14), actions_and_paths[action], :title => 'View')
elsif action == :edit
_html << link_to(image_tag('icons/edit.png', :class => 'crud_icon', :width => 14, :height => 14), actions_and_paths[action], :title => 'Edit')
elsif action == :destroy
- _html << button_to('Delete', actions_and_paths[action], :class => 'delete_crud_icon', :confirm => 'Are you sure? This action cannot be undone.', :method => :delete)
+ _html << button_to('', actions_and_paths[action], :class => 'delete_crud_icon', :confirm => 'Are you sure? This action cannot be undone.', :method => :delete)
end
end
_html.html_safe
end