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