Sha256: 395a389cd28c4eb532ff4b5fafd5c4d9f06efe0b92fb19b85a15a19c91816c50

Contents?: true

Size: 1.36 KB

Versions: 1

Compression:

Stored size: 1.36 KB

Contents

!!!
%html
  %head
    = stylesheet_link_tag    "application"
    = javascript_include_tag "application"
    = csrf_meta_tags

    = stylesheet_link_tag *@layout[:css]

    /%link{ :rel => "shortcut icon", :href => "/favicon.ico", :type => "image/x-icon"}/
    %title
      = @layout[:title] || default_view_title

    %meta{:name => 'keywords'            , :content => @layout[:keywords]}
    %meta{:name => 'description'         , :content => @layout[:desc]}
    %meta{:name => 'robots'              , :content => @layout[:all]}
    %meta{'http-equiv' => 'content-type' , :content => "text/html; charset=utf-8"}

    -#= csrf_meta_tag 
    = stylesheet_link_tag       @layout[:css].flatten.uniq 
    = javascript_include_tag    @layout[:js].flatten.uniq
    

    %style
      = yield :styles


  %body#body.admin_layout{:class=>"#{params[:controller]} #{params[:action]}"}

    #container1
      #container2
        #container3
          %nav
            = link_to 'home', '/' 

          .content

            - if @layout[:show_h1] 
              %h1
                = raw @layout[:h1] || default_view_title

              /Flash Message 
              = display_flash

              /page content
              = yield 

              =clear


        /end .container_3
      /end .container2
    /end .container1



    .dark.debug
      =debug params 
      =debug session

    =clear

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pixelearth-3.2.4 app/views/layouts/application.html.haml