Sha256: ef883a3b4229bdef734892f90d85243a69e0842505c18886bbcf47c6b51ef0e6

Contents?: true

Size: 479 Bytes

Versions: 12

Compression:

Stored size: 479 Bytes

Contents

<%= grid(@tasks_grid, upper_pagination_panel: true) 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/upper_pagination_panel/_grid.html.erb
wice_grid-6.1.2 spec/support/test_app/app/views/upper_pagination_panel/_grid.html.erb
wice_grid-6.1.1 spec/support/test_app/app/views/upper_pagination_panel/_grid.html.erb
wice_grid-6.1.0 spec/support/test_app/app/views/upper_pagination_panel/_grid.html.erb
pwice_grid-7.0.0 spec/support/test_app/app/views/upper_pagination_panel/_grid.html.erb
pwice_grid-6.1.2 spec/support/test_app/app/views/upper_pagination_panel/_grid.html.erb
pwice_grid-6.1.1 spec/support/test_app/app/views/upper_pagination_panel/_grid.html.erb
pwice_grid-6.1.0 spec/support/test_app/app/views/upper_pagination_panel/_grid.html.erb
pwice_grid-5.0.2 spec/support/test_app/app/views/upper_pagination_panel/_grid.html.erb
pwice_grid-5.0.1 spec/support/test_app/app/views/upper_pagination_panel/_grid.html.erb
pwice_grid-5.0.0 spec/support/test_app/app/views/upper_pagination_panel/_grid.html.erb
wice_grid-4.1.0 spec/support/test_app/app/views/upper_pagination_panel/_grid.html.erb