!!!
%html
  %head
    %title Cyclekit
    = stylesheet_link_tag    "application"
    = javascript_include_tag "application"
    = csrf_meta_tags
  %body
    = yield

!!!
%html
  %head
    %title Cyclekit
    = stylesheet_link_tag    "application"
    = javascript_include_tag "application"
    = csrf_meta_tags
  %body
    %header
      %h1 CycleKit
    - [:alert, :notice].each do |type|
      - if flash.key? type
        .flash{class: type}
          = flash[type]
    .content
      = yield
    %footer

Add flash output to layout.
Add flash output to layout.
