Sha256: 93c095e7f3cdf54902db405dd86b25786d87bc4229daa38ad82d2ef461e9ebaa

Contents?: true

Size: 597 Bytes

Versions: 9

Compression:

Stored size: 597 Bytes

Contents

page.grid do |grid|
  grid.id "grid-<%= plural_name %>"
  grid.title "List all <%= model_instance.class.human_name %>"
  grid.base_path "/backend/<%= plural_name %>"
  grid.forgery_protection_token request_forgery_protection_token
  grid.authenticity_token form_authenticity_token
  grid.tbar  :default
  grid.sm :checkbox
  grid.store do |store|
    store.url "/backend/<%= plural_name %>.json"
    store.fields @column_store.store_fields
  end
  grid.columns do |columns|
    columns.fields @column_store.column_fields
  end
  grid.bbar  :store => grid.get_store, :pageSize => params[:limit]
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
lipsiadmin-3.1 lipsiadmin_generators/backend_page/templates/view_index.rjs.erb
lipsiadmin-3.0 lipsiadmin_generators/backend_page/templates/view_index.rjs.erb
lipsiadmin-3.2 lipsiadmin_generators/backend_page/templates/view_index.rjs.erb
lipsiadmin-3.3.1 lipsiadmin_generators/backend_page/templates/view_index.rjs.erb
lipsiadmin-3.3.3 lipsiadmin_generators/backend_page/templates/view_index.rjs.erb
lipsiadmin-3.3.2 lipsiadmin_generators/backend_page/templates/view_index.rjs.erb
lipsiadmin-3.4.0 lipsiadmin_generators/backend_page/templates/view_index.rjs.erb
lipsiadmin-3.3 lipsiadmin_generators/backend_page/templates/view_index.rjs.erb
lipsiadmin-3.3.4 lipsiadmin_generators/backend_page/templates/view_index.rjs.erb