Sha256: acaf37af65d9721ded676f93efd10f0422a2faf4410db62bba8a91d401cfc3bd

Contents?: true

Size: 444 Bytes

Versions: 5

Compression:

Stored size: 444 Bytes

Contents

!!!
%html

  %head
    %title
      = yield(:title) || "Untitled"
    %meta{"http-equiv"=>"Content-Type", content: "text/html; charset=utf-8"}/
    = stylesheet_link_tag "<%= file_name %>"
    = javascript_include_tag :defaults
    = csrf_meta_tag
    = yield(:head)

  %body
    #container
      - flash.each do |name, msg|
        = content_tag :div, msg, id: "flash_#{name}"

      - if show_title?
        %h1= yield(:title)

      = yield

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
zoo-generators-0.1.5 lib/generators/zoo/layout/templates/layout.html.haml
zoo-generators-0.1.4 lib/generators/zoo/layout/templates/layout.html.haml
zoo-generators-0.1.3 lib/generators/zoo/layout/templates/layout.html.haml
zoo-generators-0.1.2 lib/generators/zoo/layout/templates/layout.html.haml
zoo-generators-0.1.1 lib/generators/zoo/layout/templates/layout.html.haml