orbit-basic/app/models/design/layout_part.rb

15 lines
200 B
Ruby

class LayoutPart
include Mongoid::Document
include Mongoid::Timestamps
field :name_tag
field :id_tag
field :editable_tag
field :class_tag
field :content
embedded_in :layout
end