Skip to content

Instantly share code, notes, and snippets.

@elricstorm
Created January 17, 2010 22:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elricstorm/279634 to your computer and use it in GitHub Desktop.
Save elricstorm/279634 to your computer and use it in GitHub Desktop.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" >
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" >
<head>
<meta name="Description" content=""/>
<meta name="KeyWords" content=""/>
<meta http-equiv="X-UA-Compatible" content="IE=8"/>
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<title>Mailbag</title>
<%= stylesheet_link_tag('mailbag.css') %>
<%= javascript_include_tag(:defaults) %>
<%= yield(:head) -%>
</head>
<body>
<!-- Template #2 -->
<div id="mainpage">
<!-- Header -->
<div id="header">
</div>
<!-- Menu -->
<div id="menu">
<ul id="nav" class="dropdown dropdown-horizontal">
<li id="n-home"><%= link_to "Home", root_url %></li>
<li id="n-messages"><%= link_to "Messages", messages_path %></li>
<% if logged_in? %>
<li id="n-logout"><%= link_to("Log Out", logout_path) %></li>
<% else %>
<li id="n-logout"><%= link_to("Log In", login_path) %></li>
<li id="n-logout"><%= link_to("Sign Up", signup_path) %></li>
<% end %>
</ul>
</div>
<br/><br/>
<div id="content">
<%= yield %>
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment