Sha256: 0e679e47230a94049af47ff9f01214c5679118562a2442fc4c8e0cc30a5b845a
Contents?: true
Size: 810 Bytes
Versions: 5
Compression:
Stored size: 810 Bytes
Contents
module Layouts class Admin < Layouts::Base include do def body div do header page end end def header render :partial => 'layouts/admin/header' end def stylesheets stylesheet_link_tag :admin end def javascripts javascript_include_tag :admin end def page div :id => 'page' do main sidebar end end def main div :id => 'main', :class => 'main' do flash content end end def content div :id => 'content' do super end end def sidebar div :id => 'sidebar', :class => 'right' do block.call :sidebar end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems