Sha256: d2825c48724a18661b3b0215fa184965303d2062a7973963649c4950a37b1e10
Contents?: true
Size: 734 Bytes
Versions: 10
Compression:
Stored size: 734 Bytes
Contents
module Views module Shared class StandardPage < Views::Shared::Base def content container { page_content } end def page_content raise "Must override in #{self.class.name}" end def big_title(title = nil) jumbotron { if block_given? yield else h2 title end } end def standard_text_row(&block) row { columns(:small => 3) columns(:small => 7, &block) columns(:small => 2) } end def heading_row(&block) row { columns(:small => 3) columns(:small => 9, &block) } end end end end
Version data entries
10 entries across 10 versions & 1 rubygems