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