Sha256: b7f49082d053b3ef225a4970c06054d778f7099e429e7c247e27d5cfc57b3a00

Contents?: true

Size: 228 Bytes

Versions: 2

Compression:

Stored size: 228 Bytes

Contents

class <%= grid_class_name %> < <%= grid_base_class %>

  scope do
    <%= grid_model_name %>
  end

  filter(:id, :integer)
  filter(:created_at, :date, range: true)

  column(:id)
  column(:name)
  date_column(:created_at)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
datagrid-2.0.0 templates/grid.rb.erb
datagrid-2.0.0.pre.alpha templates/grid.rb.erb