Sha256: 41ef4a075d610ec87b49b54636b4f45303ce186b5711ffaa6ec3fe2dcdee060b

Contents?: true

Size: 341 Bytes

Versions: 8

Compression:

Stored size: 341 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 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

Version Path
comfortable_mexican_sofa-1.0.51 lib/comfortable_mexican_sofa/cms_tag/field_datetime.rb
comfortable_mexican_sofa-1.0.50 lib/comfortable_mexican_sofa/cms_tag/field_datetime.rb
comfortable_mexican_sofa-1.0.49 lib/comfortable_mexican_sofa/cms_tag/field_datetime.rb
comfortable_mexican_sofa-1.0.48 lib/comfortable_mexican_sofa/cms_tag/field_datetime.rb
lucy_cms-0.0.6 lib/LucyCMS/cms_tag/field_datetime.rb
lucy_cms-0.0.5 lib/LucyCMS/cms_tag/field_datetime.rb
lucy_cms-0.0.4 lib/LucyCMS/cms_tag/field_datetime.rb
comfortable_mexican_sofa-1.0.47 lib/comfortable_mexican_sofa/cms_tag/field_datetime.rb