= options(true) %table{ :cellpadding => '0', :cellspacing => '0' } %tr %th = '#' %th = @model.human_attribute_name('name') %th = @model.human_attribute_name('created_at') %th.actions = t('dash.grid.actions') - @records.each do |record| %tr %td = record.id %td = record.name %td = l(record.created_at) %td.actions %a{ :href => main_app.url_for([:dash, record]) } = t('dash.grid.edit') %a{ :href => main_app.url_for([:dash, record]), :'data-method' => 'delete' } = t('dash.grid.destroy') = pager(@records)