= render :partial => 'dash/shared/filter' %table{ :cellpadding => '0', :cellspacing => '0' } %tr %th = '#' %th = @model.human_attribute_name('created_at') %th.actions = t('global.actions') - @records.each do |record| %tr %td = record.id %td = l(record.created_at) %td.actions = link_to(t('global.edit'), [:dash, record]) = link_to(t('global.destroy'), [:dash, record], :method => :delete) = render :partial => 'dash/shared/pager', :locals => { :collection => @records }