Sha256: 22213bce9cce388b311ae64ce221fa4c4f63af70e0d082c8d026c793e9884142

Contents?: true

Size: 217 Bytes

Versions: 9

Compression:

Stored size: 217 Bytes

Contents

class <%= grid_class_name %> < BaseGrid

  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

9 entries across 9 versions & 1 rubygems

Version Path
datagrid-1.7.0 templates/grid.rb.erb
datagrid-1.6.3 templates/grid.rb.erb
datagrid-1.6.2 templates/grid.rb.erb
datagrid-1.6.1 templates/grid.rb.erb
datagrid-1.6.0 templates/grid.rb.erb
datagrid-1.5.9 templates/grid.rb.erb
datagrid-1.5.8 templates/grid.rb.erb
datagrid-1.5.7 templates/grid.rb.erb
datagrid-1.5.6 templates/grid.rb.erb