Sha256: 9d212f29eee011841d8a57d8461936b46420b709db9ff75b9e50b0b491f52439
Contents?: true
Size: 666 Bytes
Versions: 10
Compression:
Stored size: 666 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(:short) end g.column do |task| link_to('Edit', edit_task_path(task)) end end -%>
Version data entries
10 entries across 5 versions & 1 rubygems