Sha256: ccca014a2966845d2fc400274a6962ae8ebd47f855b33055d0e107de210b3d95
Contents?: true
Size: 469 Bytes
Versions: 28
Compression:
Stored size: 469 Bytes
Contents
- if resource_class.column_names.include? 'name' - grid.column name: input_label(:defaults, :name), attribute: 'name' do |obj| - obj.name - elsif resource_class.column_names.include? 'title' - grid.column name: input_label(:defaults, :title), attribute: 'title' do |obj| - obj.title - elsif resource_class.column_names.include? 'email' - grid.column name: input_label(:defaults, :email), attribute: 'email' do |obj| - obj.email - column_actions(grid)
Version data entries
28 entries across 16 versions & 2 rubygems