Sha256: 996c6a67496a39f4b00c484cd899d7b5cda01df230a518aeaedb3084c7382174

Contents?: true

Size: 306 Bytes

Versions: 7

Compression:

Stored size: 306 Bytes

Contents

class BookGridWithDefaultValues < Netzke::Basepack::GridPanel
  model "Book"
  js_property :title, "Books"

  column :title, :default_value => "Lolita"
  column :author__last_name, :default_value => Author.first.id
  column :exemplars, :default_value => 100
  column :digitized, :default_value => true
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
netzke-basepack-0.7.7 test/basepack_test_app/app/components/book_grid_with_default_values.rb
netzke-basepack-zh-0.7.6 test/basepack_test_app/app/components/book_grid_with_default_values.rb
netzke-basepack-0.7.6 test/basepack_test_app/app/components/book_grid_with_default_values.rb
netzke-basepack-0.7.5 test/basepack_test_app/app/components/book_grid_with_default_values.rb
netzke-basepack-0.7.4 test/basepack_test_app/app/components/book_grid_with_default_values.rb
netzke-basepack-0.7.3 test/basepack_test_app/app/components/book_grid_with_default_values.rb
netzke-basepack-0.7.2 test/basepack_test_app/app/components/book_grid_with_default_values.rb