Sha256: c7d6c4fcd287c14394e37cbe90bcd9d6abdd2f70f3f67a821db33732b66397a9
Contents?: true
Size: 432 Bytes
Versions: 11
Compression:
Stored size: 432 Bytes
Contents
class BookFormWithNestedAttributes < Netzke::Basepack::FormPanel js_property :title, Book.model_name.human def default_config super.merge( :model => "Book", :record => Book.first, :items => [ :title, {:name => :author__first_name, :nested_attribute => true}, {:name => :author__last_name, :nested_attribute => true}, :digitized, :exemplars ] ) end end
Version data entries
11 entries across 11 versions & 2 rubygems