Sha256: 699e907014846c8e10bfc06d06d3374c624d5d450182a51e0079d3b3e9d49fef

Contents?: true

Size: 498 Bytes

Versions: 28

Compression:

Stored size: 498 Bytes

Contents

module Plutonium
  module UI
    module Layout
      class ResourceLayout < Base
        private

        def main_attributes = mix(super, {
          class: "pt-20 lg:ml-64"
        })

        def page_title
          helpers.make_page_title(
            helpers.controller.instance_variable_get(:@page_title)
          )
        end

        def render_before_main
          super

          render("resource_header")
          render("resource_sidebar")
        end
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
plutonium-0.19.2 lib/plutonium/ui/layout/resource_layout.rb
plutonium-0.19.1 lib/plutonium/ui/layout/resource_layout.rb
plutonium-0.19.0 lib/plutonium/ui/layout/resource_layout.rb
plutonium-0.18.8 lib/plutonium/ui/layout/resource_layout.rb
plutonium-0.18.7 lib/plutonium/ui/layout/resource_layout.rb
plutonium-0.18.6 lib/plutonium/ui/layout/resource_layout.rb
plutonium-0.18.5 lib/plutonium/ui/layout/resource_layout.rb
plutonium-0.18.4 lib/plutonium/ui/layout/resource_layout.rb
plutonium-0.18.3 lib/plutonium/ui/layout/resource_layout.rb
plutonium-0.18.2 lib/plutonium/ui/layout/resource_layout.rb
plutonium-0.18.1 lib/plutonium/ui/layout/resource_layout.rb
plutonium-0.18.0 lib/plutonium/ui/layout/resource_layout.rb
plutonium-0.16.5 lib/plutonium/ui/layout/resource_layout.rb
plutonium-0.16.4 lib/plutonium/ui/layout/resource_layout.rb
plutonium-0.16.3 lib/plutonium/ui/layout/resource_layout.rb
plutonium-0.16.1 lib/plutonium/ui/layout/resource_layout.rb
plutonium-0.16.0 lib/plutonium/ui/layout/resource_layout.rb
plutonium-0.15.24 lib/plutonium/ui/layout/resource_layout.rb
plutonium-0.15.23 lib/plutonium/ui/layout/resource_layout.rb
plutonium-0.15.22 lib/plutonium/ui/layout/resource_layout.rb