Sha256: 9524845e6c6f132a793238eac8e8e3a734df4b8995129e2b97f671dfa0bf045d
Contents?: true
Size: 792 Bytes
Versions: 7
Compression:
Stored size: 792 Bytes
Contents
class BookPagingFormPanel < Netzke::Basepack::PagingFormPanel def default_config super.merge({ :title => "Digitized books", :model => "Book", :record => Book.first, # :scope => {:digitized => true}, :mode => :lockable, :items => [{:layout => :hbox, :label_align => :top, :border => false, :defaults => {:border => false}, :items => [{ :flex => 2, :layout => :anchor, :defaults => {:anchor => "-8"}, :items => [:title, :notes, :digitized, :created_at, :updated_at, :last_read_at] },{ :flex => 1, :layout => :anchor, :defaults => {:anchor => "-8"}, :items => [:author__name, {:name => :author__first_name, :read_only => true}, :exemplars, :published_on] }]}] }) end end
Version data entries
7 entries across 7 versions & 2 rubygems