Created
March 27, 2009 00:59
-
-
Save bryan-ash/86479 to your computer and use it in GitHub Desktop.
Basic layout for use with restfull authentication Rails app
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 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
<head> | |
<meta http-equiv="content-type" content="text/html;charset=UTF-8" /> | |
<title>Test</title> | |
<%= javascript_include_tag :defaults %> | |
<%= stylesheet_link_tag 'site' %> | |
</head> | |
<body> | |
<div id="user_bar"> | |
<%= render :partial => "users/user_bar" -%> | |
</div> | |
<div id="content"> | |
<% if flash[:error] -%> | |
<div class="error"><%= flash[:error] -%></div> | |
<% end -%> | |
<% if flash[:notice] -%> | |
<div class="notice"><%= flash[:notice] -%></div> | |
<% end -%> | |
<%= yield :layout -%> | |
<div style="clear: both;"> </div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment