Sha256: 8294a6d44eff833ca0ac5cf9cf844828f09592a78f67d5fb095fb0c66eb94353

Contents?: true

Size: 449 Bytes

Versions: 12

Compression:

Stored size: 449 Bytes

Contents

<%= grid(@tasks_grid) do |g|

  g.column name:  'ID' do |task|
    task.id
  end

  g.column name:  'Title'  do |task|
    task.title
  end

  g.column  name:  'Description' do |task|
    task.description
  end

  g.column  name:  'Archived' do |task|
    task.archived? ? 'Yes' : 'No'
  end

  g.column name:  'Added' do |task|
    task.created_at.to_s(:short)
  end


  g.column   do |task|
    link_to('Edit', edit_task_path(task))
  end
end -%>

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
wice_grid-6.1.3 spec/support/test_app/app/views/basics2/_grid.html.erb
wice_grid-6.1.2 spec/support/test_app/app/views/basics2/_grid.html.erb
wice_grid-6.1.1 spec/support/test_app/app/views/basics2/_grid.html.erb
wice_grid-6.1.0 spec/support/test_app/app/views/basics2/_grid.html.erb
pwice_grid-7.0.0 spec/support/test_app/app/views/basics2/_grid.html.erb
pwice_grid-6.1.2 spec/support/test_app/app/views/basics2/_grid.html.erb
pwice_grid-6.1.1 spec/support/test_app/app/views/basics2/_grid.html.erb
pwice_grid-6.1.0 spec/support/test_app/app/views/basics2/_grid.html.erb
pwice_grid-5.0.2 spec/support/test_app/app/views/basics2/_grid.html.erb
pwice_grid-5.0.1 spec/support/test_app/app/views/basics2/_grid.html.erb
pwice_grid-5.0.0 spec/support/test_app/app/views/basics2/_grid.html.erb
wice_grid-4.1.0 spec/support/test_app/app/views/basics2/_grid.html.erb