Sha256: ba38848bd0319cde9b1d2a07c16aabf5ee8c70e1c8416202a8b82124a7e02c53
Contents?: true
Size: 413 Bytes
Versions: 15
Compression:
Stored size: 413 Bytes
Contents
class CmsTag::FieldText < CmsBlock include CmsTag def self.regex_tag_signature(label = nil) label ||= /\w+/ /\{\{\s*cms:field:(#{label}):?(?:text)?\s*?\}\}/ end def regex_tag_signature self.class.regex_tag_signature(label) end def content=(value) write_attribute(:content, value) end def content read_attribute(:content) end def render '' end end
Version data entries
15 entries across 15 versions & 1 rubygems