Want more features on Pastebin? Sign Up, it's FREE!
Guest

application.html.haml

By: krpec on Jun 27th, 2014  |  syntax: None  |  size: 0.88 KB  |  views: 5  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. !!!
  2. %html
  3.         %head
  4.                 %title= full_title(yield(:title))
  5.                 = stylesheet_link_tag    "application", media: "all", "data-turbolinks-track" => true
  6.                 = javascript_include_tag "application", "data-turbolinks-track" => true
  7.                 = javascript_include_tag "//www.google.com/jsapi", "chartkick"
  8.                 = csrf_meta_tags
  9.                 = render 'layouts/shim'
  10.                 %meta{:content => "width=device-width, initial-scale=1.0", :name => "viewport"}
  11.         %body{"data-no-turbolink" => "true"}
  12.                 = render 'layouts/header'
  13.                 .container-fluid.clearfix
  14.                         .row-fluid.clearfix
  15.                                 .col-sm-3.col-md-2.sidebar
  16.                                         = render "layouts/submenu"
  17.                                 .col-sm-9.col-sm-offset-3.col-md-10.col-md-offset-2.main
  18.                                         - flash.each do |key, value|
  19.                                                 = content_tag(:div, value, class: "alert alert-#{key}")
  20.                                         = yield
  21.                                         = render 'layouts/footer'
  22.                                         = content_tag(:div, debug(params), class: "container-fluid") if Rails.env.development?
clone this paste RAW Paste Data