Sha256: 9aa314ba2719ffb374603e935397834b8299747f9498b393d2e69fcc334b1730
Contents?: true
Size: 438 Bytes
Versions: 5
Compression:
Stored size: 438 Bytes
Contents
<%= grid(@tasks_grid) 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_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