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