Sha256: eeb40149451ef27397931d62d7cc0ea61ced862577aac7703ea6bd3b91cfcd83

Contents?: true

Size: 975 Bytes

Versions: 1

Compression:

Stored size: 975 Bytes

Contents

!!! Strict
%html{html_attrs(I18n.locale)}
  %head
    =render :partial => 'humpyard/common/head'
<% if options[:js_framework] -%>
    = stylesheet_link_tag 'smoothness/jquery-ui-1.8.10.css'
    = javascript_include_tag 'jquery-1.5.1', 'jquery-ui-1.8.10', 'jquery.form-2.64', 'jquery.jstree', 'jquery-rails', 'jquery-humpyard'
<% end -%>
    = csrf_meta_tag
  = page_body do
    .container
      - flash.each do |name, msg|
        = content_tag :div, msg, :id => "flash_#{name}", :class => 'flash'    
      #header.span-24{"class"=>"last"}
        %h1
          = @content_for_title
      #menu.span-24{"class"=>"last"}
        - if Humpyard::Page.root_page
          - Humpyard::Page.root_page.child_pages.each do |page|
            = link_to page.title, page.human_url
      #content.span-16	
        = yield
      #sidebar.span-8{"class"=>"last"}
        .box
          = yield :sidebar
      #footer.span-24{"class"=>"last"}
        %p
          This is just a template

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
humpyard-0.0.1 lib/generators/humpyard/skeleton/templates/views/layout.html.haml