Application_Form/app/models/seminar_submission_field_se...

11 lines
286 B
Ruby
Raw Normal View History

class SeminarSubmissionFieldSet
include Mongoid::Document
include Mongoid::Timestamps
field :field_name, type: String
field :placeholder
field :name
field :disabled, type: Boolean, default: false
field :hidden, type: Boolean, default: false
belongs_to :seminar_main
end