Sha256: 5aea33b1fe0382a0f0691b41098fa1bffa6e201fc9f04d1e42e57d0912694e65

Contents?: true

Size: 1.16 KB

Versions: 1

Compression:

Stored size: 1.16 KB

Contents

<!DOCTYPE html>
<html>
  <head>
    <title><%= layout_title %></title>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width" />
    <%= stylesheet_link_tag    "application", media: "all", "data-turbolinks-track" => true %>
    <%= javascript_include_tag "application", "data-turbolinks-track" => true %>
    <%= csrf_meta_tags %>
  </head>
  <body>
    <div class="container">
      <header id="header">
        <%= layout_logo %>
      </header>
      <section id="main" class="row">
        <section id="content" class="span8">
          <%= layout_flash %>
          <%= layout_page_title %>
          <%= yield %>
        </section>
        <aside id="sidebar" class="span4">
          <%= 
            if yield(:sidebar).blank?
              begin
                render("sidebar")
              rescue ActionView::MissingTemplate
                ""
              end
            else 
              yield(:sidebar)
            end
          %>
        </aside>
      </section>
      <footer id="footer">
        <%= layout_copyright %>
      </footer>
    </div>
  </body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
noa-layout-0.0.1 app/views/layouts/noa/layout/bootstrap.html.erb