Sha256: add005b725afb3a216db605a94e575c0ebca77afe72c45e917c55e9ceae1a95a

Contents?: true

Size: 342 Bytes

Versions: 12

Compression:

Stored size: 342 Bytes

Contents

module ExpressAdmin
  class PageHeader < ExpressTemplates::Components::Base
    ETC = ExpressTemplates::Components

    contains -> {
      h1 {
        content_for(:page_header) if content_for?(:page_header)
      }
      para(class: 'lead') {
        content_for(:page_header_lead) if content_for?(:page_header_lead)
      }
    }
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
express_admin-1.4.11 app/components/express_admin/page_header.rb
express_admin-1.4.10 app/components/express_admin/page_header.rb
express_admin-1.4.9 app/components/express_admin/page_header.rb
express_admin-1.4.8 app/components/express_admin/page_header.rb
express_admin-1.4.7 app/components/express_admin/page_header.rb
express_admin-1.4.6 app/components/express_admin/page_header.rb
express_admin-1.4.5 app/components/express_admin/page_header.rb
express_admin-1.4.4 app/components/express_admin/page_header.rb
express_admin-1.4.3 app/components/express_admin/page_header.rb
express_admin-1.4.2 app/components/express_admin/page_header.rb
express_admin-1.4.1 app/components/express_admin/page_header.rb
express_admin-1.4.0 app/components/express_admin/page_header.rb