Sha256: a517e54ca144ee6ff76001b5e4f13e71d343d0f585145bd859a2d0f410d630a6

Contents?: true

Size: 980 Bytes

Versions: 2

Compression:

Stored size: 980 Bytes

Contents

!!!
%html
  %head
    %meta{'charset' => 'utf-8'}
    %meta{'http-equiv' => 'X-UA-Compatible', :content => 'IE-Edge,chrome=1'}
    %meta{:name => 'description', :content => ''}
    %meta{:name => 'author', :content => 'Jais Cheema'}
    %meta{:name => 'viewport', :content => 'width=device-width,initial-scale=1'}
    
    %title= content_for?(:title) ? yield(:title) : "Untitled"
    
    = stylesheet_link_tag 'elements/application' 
    /[if lt IE 8]
      = stylesheet_link_tag 'elements/ie' 
    
    = stylesheet_link_tag 'application' 
    
    = javascript_include_tag :application
    
    = csrf_meta_tags

    = yield(:head)
  %body
    .body_container
      = render 'layouts/elements/header'
      = render 'layouts/elements/flash_messages'
      - if show_title?
        .primary_container
          .width_container
            .content.page_title.right
              = content_tag :h1, yield(:title)
      = yield
      .push
    = render 'layouts/elements/footer'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
elements-0.2.1 app/views/layouts/application.html.haml
elements-0.2.0 app/views/layouts/application.html.haml