Sha256: 9f2c59941e60b3c485a705be6367a45cc3e8112266140c8eb9d31c620e589da7
Contents?: true
Size: 508 Bytes
Versions: 12
Compression:
Stored size: 508 Bytes
Contents
<%= grid(@tasks_grid) do |g| g.column name: 'ID', attribute: 'id', filter: false g.column name: 'Title', attribute: 'title' g.column name: 'Description', attribute: 'description', filter: false g.column name: 'Archived', attribute: 'archived' do |task| task.archived? ? 'Yes' : 'No' end g.column name: 'Added', attribute: 'created_at', filter: false 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