!!! 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