Sha256: 441f7fe07c6e04c32f197e633363d72faba54921e407595d40a357a211a0d9a9
Contents?: true
Size: 420 Bytes
Versions: 17
Compression:
Stored size: 420 Bytes
Contents
class CmsTag::FieldString < CmsBlock include CmsTag def self.regex_tag_signature(label = nil) label ||= /[\w\-]+/ /\{\{\s*cms:field:(#{label}):?(?:string)?\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
17 entries across 17 versions & 2 rubygems