!!!
%html{html_attrs}
  %head
    %meta(http-equiv='Content-Type' content='text/html;charset=utf-8')
    %meta(http-equiv='Content-Script-Type' content='text/javascript')
    - if protect_against_forgery?
      %meta(name='authenticity_token' content=form_authenticity_token)
    %title&= @title || "<%= File.basename(destination_path('')).gsub('_', ' ').capitalize %>"
<% if exist?("public/stylesheets/blueprint") -%>
    = stylesheet_link_tag 'blueprint/screen', :media => 'screen, projection'
    = stylesheet_link_tag 'blueprint/print', :media => 'print'
    /[if IE]
      = stylesheet_link_tag 'blueprint/ie', :media => 'screen, projection'
<% end -%>
<% if exist?("public/stylesheets/application.css") -%>
    = stylesheet_link_tag 'application', :media => 'screen, projection'
<% end -%>
<% if exist?("public/javascripts/jquery.js") -%>
    = javascript_include_tag 'jquery'
<% end -%>
    = javascript_include_tag 'application'
    = yield :head
  %body
    .container
      = yield

!!!
%html{html_attrs(I18n.locale)}
  %head
    %meta(http-equiv='Content-Type' content='text/html;charset=utf-8')
    %meta(http-equiv='Content-Script-Type' content='text/javascript')
    - if protect_against_forgery?
      %meta(name='authenticity_token' content=form_authenticity_token)
    %title&= @title || "<%= File.basename(destination_path('')).gsub('_', ' ').capitalize %>"
<% if exist?("public/stylesheets/blueprint") -%>
    = stylesheet_link_tag 'blueprint/screen', :media => 'screen, projection'
    = stylesheet_link_tag 'blueprint/print', :media => 'print'
    /[if IE]
      = stylesheet_link_tag 'blueprint/ie', :media => 'screen, projection'
<% end -%>
<% if exist?("public/stylesheets/application.css") -%>
    = stylesheet_link_tag 'application', :media => 'screen, projection'
<% end -%>
<% if exist?("public/javascripts/jquery.js") -%>
    = javascript_include_tag 'jquery'
<% end -%>
    = javascript_include_tag 'application'
    = yield :head
  %body
    .container
      = yield

Use locale as html lang attribute
Use locale as html lang attribute
