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

15 lines
199 B
Ruby

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