Sha256: 6e358335b23a74a7ba9aa274776cd77eaa8d25d1990b1b493aabb8430c1896ff

Contents?: true

Size: 358 Bytes

Versions: 5

Compression:

Stored size: 358 Bytes

Contents

<%= grid(@tasks_grid) do |g|
  g.column do |task|
    task.id
  end
  g.column  do |task|
    task.title
  end
  g.column do |task|
    task.description
  end
  g.column do |task|
    task.archived? ? 'Yes' : 'No'
  end
  g.column do |task|
    task.created_at.to_fs(:short)
  end
  g.column do |task|
    link_to('Edit', edit_task_path(task))
  end
end -%>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wice_grid-7.1.4 spec/support/test_app/app/views/basics1/_grid.html.erb
wice_grid-7.1.3 spec/support/test_app/app/views/basics1/_grid.html.erb
wice_grid-7.1.2 spec/support/test_app/app/views/basics1/_grid.html.erb
wice_grid-7.1.1 spec/support/test_app/app/views/basics1/_grid.html.erb
wice_grid-7.1.0 spec/support/test_app/app/views/basics1/_grid.html.erb