Sha256: 3776349f188dccd9aad42e845e3e36e48ddb870a26da3496b3ec5a282bb15b78

Contents?: true

Size: 1.19 KB

Versions: 5

Compression:

Stored size: 1.19 KB

Contents

!!!
%html
  %head
    /%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 

    /must be called before noConflict 
    = javascript_include_tag   'jquery-1.5.1.min.js' #apparently has to be called before prototype

    :javascript
      jQuery.noConflict(); //must be run before any other 'plugins' that use these libraries


    = javascript_include_tag    :defaults
    = javascript_include_tag    @layout[:js].flatten.uniq

    %style
      = yield :styles




  %body


    #container_1
      .content

        /Flash Message 
        = raw display_flash


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


        =yield

        =clear

    #footer
      #debug_box
        =debug params 

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pixelearth-3.2.4 lib/generators/project_files/templates/views/application.html.haml
pixelearth-3.2.2 lib/generators/project_files/templates/views/application.html.haml
pixelearth-0.0.7 lib/generators/project_files/templates/views/application.html.haml
pixelearth-0.0.6 lib/generators/project_files/templates/views/application.html.haml
pixelearth-0.0.5 lib/generators/project_files/templates/views/application.html.haml