Sha256: edde2981ff50b3a004cfa6e6aab0579785a3664a01440390f4edcb838b4028fb
Contents?: true
Size: 642 Bytes
Versions: 2
Compression:
Stored size: 642 Bytes
Contents
= 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)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_dash-0.0.6 | test/dummy/app/views/dash/photos/index.html.haml |
rails_dash-0.0.5 | test/dummy/app/views/dash/photos/index.html.haml |