Sha256: abb207b2ded1a895317cbc566baeb301179a79fdf3d0147247f2934a72c597a6

Contents?: true

Size: 310 Bytes

Versions: 5

Compression:

Stored size: 310 Bytes

Contents

module Coco
  module App
    class ApplicationLayout < Coco::Component
      component_name :application_layout

      renders_one :flashes
      renders_one :banner
      renders_one :header
      renders_one :sidebar_nav

      def banner_content?
        banner.to_s.strip != ""
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
coveragebook_components-0.16.0 app/components/coco/app/application_layout/application_layout.rb
coveragebook_components-0.15.0 app/components/coco/app/application_layout/application_layout.rb
coveragebook_components-0.14.0 app/components/coco/app/application_layout/application_layout.rb
coveragebook_components-0.13.1 app/components/coco/app/application_layout/application_layout.rb
coveragebook_components-0.13.0 app/components/coco/app/application_layout/application_layout.rb