Sha256: f2273b4474996f395d2b759c985064c0060017feccd08ac575d7d9db4efc229f

Contents?: true

Size: 642 Bytes

Versions: 4

Compression:

Stored size: 642 Bytes

Contents

!!! Strict
%html{html_attrs}
  
  %head
    %title
      = h(yield(:title) || t("Untitled"))
    %meta{"http-equiv"=>"Content-Type", :content=>"text/html; charset=utf-8"}/
    = stylesheet_link_tag 'application', :cache => true
    = yield(:head)
  
  %body
    #container
      #menu= render(:partial => "/shared/menu")
      #body
        - flash.each do |name, msg|
          = content_tag :div, msg, :id => "flash_#{name}"
        
        - if show_title?
          %h1=h yield(:title)
        
        = yield
      #footer
        %p
          = "© #{Date.today.year}"
          = render :partial => "/shared/revision" rescue nil

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
iain-pizza-generators-0.1.1 rails_generators/pizza_layout/templates/layout.html.haml
iain-pizza-generators-0.1.2 rails_generators/pizza_layout/templates/layout.html.haml
iain-pizza-generators-0.1.3 rails_generators/pizza_layout/templates/layout.html.haml
iain-pizza-generators-0.1.4 rails_generators/pizza_layout/templates/layout.html.haml