# -*- encoding : utf-8 -*- class TitleContent < ApplicationRecord has_one :portlet, :as => :content, :dependent => :destroy validates :content, :presence => true LEVELS = [1,2,3,4,5,6] STYLES = ["default","orange", "vert_grand", "orange_grand"]#[["Style 1",1], ["Style 2",2]] def self.picto "header" end end