.page-header= title 'Active lists' table#active-lists-table.table thead tr th.number Table number th.currency Price th.actions tbody - content_for :footer do javascript: jQuery(function(){ Qrammer.load_active_lists('#{@supplier.id}') setInterval( "Qrammer.load_active_lists('#{@supplier.id}')", 7500); });