| |
|
|
|
|
" /> |
<%= button_to_remote "delete",
:url => {:controller => "gcp", :action => "destroy", :id=> gcp.id },
:method => "delete",
:confirm => "Really delete these points?",
:before => "Element.show('spinner');gcp_notice('Deleting...');",
:complete => "Element.hide('spinner');",
:success => "delete_markers(#{gcp.id});",
:failure => "gcp_notice('Sorry, there seems to be an error with this delete request, try again?');" -%> |