Created
November 10, 2012 17:39
-
-
Save JohnLockwood/4051866 to your computer and use it in GitHub Desktop.
Translating applicaiton.html.erb to HAML -- this file is translated with modifications in https://gist.github.com/4051775
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title><%= content_for?(:title) ? yield(:title) : "Rails3 Mongoid Devise" %></title> | |
<meta name="description" content="<%= content_for?(:description) ? yield(:description) : "Rails3 Mongoid Devise" %>"> | |
<%= stylesheet_link_tag "application", :media => "all" %> | |
<%= javascript_include_tag "application" %> | |
<%= csrf_meta_tags %> | |
<%= yield(:head) %> | |
</head> | |
<body> | |
<div id="container" class="container"> | |
<header> | |
<%= render 'layouts/navigation' %> | |
<%= render 'layouts/messages' %> | |
</header> | |
<div id="main" role="main"> | |
<%= yield %> | |
</div> | |
<footer> | |
</footer> | |
</div> <!--! end of #container --> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment