Sha256: 64e713bd2b7cdc1b4995094bb521e29d12bf2154c859565a2467f514f61f40a0
Contents?: true
Size: 704 Bytes
Versions: 25
Compression:
Stored size: 704 Bytes
Contents
page.grid do |grid| grid.id "grid-<%= plural_name %>" grid.title list_title_for(<%= model_instance.class.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 # store.sortInfo :field => "<%= plural_name %>.created_at", :direction => "DESC" end grid.columns do |columns| columns.fields @column_store.column_fields end grid.bbar :store => grid.get_store, :pageSize => params[:limit], :displayInfo => true end
Version data entries
25 entries across 25 versions & 1 rubygems