test/dummy/app/views/dash/photos/index.html.haml in rails_dash-0.0.2 vs test/dummy/app/views/dash/photos/index.html.haml in rails_dash-0.0.3
- old
+ new
@@ -4,16 +4,16 @@
%th
= '#'
%th
= @model.human_attribute_name('created_at')
%th.actions
- = t('global.actions')
+ = t('dash.grid.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)
+ = 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 }