Sha256: 6d8ab7fd956d704738310013b483b816f9f7226c69f1bf029a7b8491b028a6cb

Contents?: true

Size: 484 Bytes

Versions: 5

Compression:

Stored size: 484 Bytes

Contents

<%= grid(@tasks_grid, hide_submit_button: true, hide_reset_button: true) do |g|
  g.column name: 'ID', attribute: 'id', filter: false
  g.column name: 'Title', attribute: 'title'
  g.column  name: 'Description', attribute: 'description'
  g.column  name: 'Archived', attribute: 'archived' do |task|
    task.archived? ? 'Yes' : 'No'
  end
  g.column name: 'Due Date', attribute: 'due_date', filter: false
  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/buttons/_grid.html.erb
wice_grid-7.1.3 spec/support/test_app/app/views/buttons/_grid.html.erb
wice_grid-7.1.2 spec/support/test_app/app/views/buttons/_grid.html.erb
wice_grid-7.1.1 spec/support/test_app/app/views/buttons/_grid.html.erb
wice_grid-7.1.0 spec/support/test_app/app/views/buttons/_grid.html.erb