Sha256: 1a618b763b9e16c6c83ffc56a7514c1034f0a110e583d78aede15266fd7b42cf

Contents?: true

Size: 287 Bytes

Versions: 17

Compression:

Stored size: 287 Bytes

Contents

var grid = new Admin.grid({
  id: 'grid-<%= @model_plural %>',
  title: 'List <%= @model_name %>',
  baseUrl: '/admin/<%= @model_plural %>',
  column_fields: <%%= @store.column_fields %>,
  store_fields: <%%= @store.store_fields %>
});

Admin.app.addItem(grid, '<%%= params[:small] %>');

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
padrino-admin-0.8.5 lib/padrino-admin/generators/templates/page/views/grid.js.erb.tt
padrino-admin-0.8.4 lib/padrino-admin/generators/templates/page/views/grid.js.erb.tt
padrino-admin-0.8.3 lib/padrino-admin/generators/templates/page/views/grid.js.erb.tt
padrino-admin-0.8.2 lib/padrino-admin/generators/templates/page/views/grid.js.erb.tt
padrino-admin-0.8.1 lib/padrino-admin/generators/templates/page/views/grid.js.erb.tt
padrino-admin-0.8.0 lib/padrino-admin/generators/templates/page/views/grid.js.erb.tt
padrino-admin-0.7.9 lib/padrino-admin/generators/templates/page/views/grid.js.erb.tt
padrino-admin-0.7.8 lib/padrino-admin/generators/templates/page/views/grid.js.erb.tt
padrino-admin-0.7.7 lib/padrino-admin/generators/templates/page/views/grid.js.erb.tt
padrino-admin-0.7.6 lib/padrino-admin/generators/templates/page/views/grid.js.erb.tt
padrino-admin-0.7.5 lib/padrino-admin/generators/templates/page/views/grid.js.erb.tt
padrino-admin-0.7.4 lib/padrino-admin/generators/templates/page/views/grid.js.erb.tt
padrino-admin-0.7.3 lib/padrino-admin/generators/templates/page/views/grid.js.erb.tt
padrino-admin-0.7.2 lib/padrino-admin/generators/templates/page/views/grid.js.erb.tt
padrino-admin-0.7.1 lib/padrino-admin/generators/templates/page/views/grid.js.erb.tt
padrino-admin-0.7.0 lib/padrino-admin/generators/templates/page/views/grid.js.erb.tt
padrino-admin-0.6.7 lib/padrino-admin/generators/templates/page/views/grid.js.erb.tt