Sha256: 195ae2556712bbf7666f2f51cef077842d63430e72863e9a6997183c9dfe67d2

Contents?: true

Size: 1.19 KB

Versions: 3

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 
    = javascript_include_tag    :defaults
        
    /must be called before noConflict 
    = javascript_include_tag   'https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js' 

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

    = 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

3 entries across 3 versions & 1 rubygems

Version Path
pixelearth-0.0.4 lib/generators/project_files/templates/views/application.html.haml
pixelearth-0.0.3 lib/generators/project_files/templates/views/application.html.haml
pixelearth-0.0.2 lib/generators/project_files/templates/views/application.html.haml