Skip to content

Instantly share code, notes, and snippets.

@creich
Created October 12, 2012 12:16
Show Gist options
  • Save creich/3878936 to your computer and use it in GitHub Desktop.
Save creich/3878936 to your computer and use it in GitHub Desktop.
<%= link_to l(:button_cancel), {:controller => 'time_bookings', :action => 'get_list_entry', :time_booking_id => time_booking.id}, :remote => true %>
<%= button_tag l(:button_cancel), :controller => 'time_bookings', :action => 'get_list_entry', :time_booking_id => time_booking.id, :remote => true, :method => :get %>
$('#<%= "booking-entry-" + @entry.id.to_s %>').html('<%= escape_javascript(render(:partial => 'time_bookings/list_entry', :locals => {:entry => @entry, :query => @query_bookings, :button => :book})) %>');
contextMenuHide();
contextMenuUnselectAll();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment