Created
April 19, 2011 12:49
-
-
Save chriskottom/927432 to your computer and use it in GitHub Desktop.
A HAML-based replacement for the standard Rails layout template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!!! 5 | |
%html | |
%head | |
= stylesheet_link_tag "reset", "base", "formtastic", "formtastic_changes", "application", :cache => "apprequest" | |
= javascript_include_tag :defaults | |
= csrf_meta_tag | |
%title= content_for(:title).empty? ? app_name : "#{ content_for(:title) } | #{ app_name }" | |
%body{ :class => content_for(:body_class) } | |
#wrap | |
#header | |
.wrapper | |
= render :partial => "layouts/application/header" | |
#main | |
.wrapper | |
= yield | |
#footer | |
.wrapper | |
= render :partial => "layouts/application/footer" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment