!!! xml !!! strict %html{html_attrs("en-GB")} %head %meta{"http-equiv" => 'Content-Type', :content => 'text/html;charset=utf-8'} %title= h( "<%= app_title %> | " + (yield(:title) || "Untitled")) =stylesheet_link_tag ["screen"], :media => "screen" =stylesheet_link_tag ["print"], :media => "print" =stylesheet_link_tag ["handheld"], :media => "handheld" /[if lt IE 6] = stylesheet_link_tag ["ie"], :media => "screen" = yield(:head) %body #doc #hd = render :partial => "shared/header" #bd = yield(:content) || yield #ft = render :partial => "shared/footer" = render :partial => "shared/analytics" - unless yield(:javascript).nil? - if protect_against_forgery? :javascript var AUTH_TOKEN = encodeURIComponent(#{form_authenticity_token.inspect}) = javascript_include_tag 'jquery-1.3.2.min', 'jquery-iu-1.7.2.min.js' = yield(:javascript_includes) = javascript_include_tag 'application' :javascript #{yield(:javascript)}