Sha256: d3a12b4c4a528348c7dec43825156fae278b8e0f15e9abd470765a588be77902
Contents?: true
Size: 662 Bytes
Versions: 5
Compression:
Stored size: 662 Bytes
Contents
<%= define_grid(tasks_grid, hide_submit_button: true, hide_reset_button: true) do |g| g.column name: 'ID', attribute: 'id', detach_with_id: :id_filter g.column name: 'Title', attribute: 'title', detach_with_id: :title_filter g.column name: 'Description', attribute: 'description', detach_with_id: :description_filter g.column name: 'Archived', attribute: 'archived', detach_with_id: :archived_filter do |task| task.archived? ? 'Yes' : 'No' end g.column name: 'Due Date', attribute: 'due_date', detach_with_id: :due_date do |task| task.due_date.to_fs(:db) end g.column do |task| link_to('Edit', edit_task_path(task)) end end -%>
Version data entries
5 entries across 5 versions & 1 rubygems