Sha256: dd0eb54ba83bf0acb7aef5e84affff9de05cf93e96c8632368f9aef4f0736362
Contents?: true
Size: 340 Bytes
Versions: 8
Compression:
Stored size: 340 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 content=(value) write_attribute(:content, value) end def content read_attribute(:content) end def render '' end end
Version data entries
8 entries across 8 versions & 2 rubygems