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