module Lolita::Configuration::Tab

Tab is used as a container for different type of resource content. It can contain fields, images, audio, video files, maps and other stuff. Tab contain following parts, that also are configurable through block or arguments passed to tab.

To create new tab you should pass Lolita::DBI object and tab type, default is :content

Example

Lolita::Configuration::Tab.new(Lolita::DBI.new(Post),:images)

To define tab in ORM model, through lolita configuration do the following

Example

lolita do
  tab(:files)
end