Skip to content

Instantly share code, notes, and snippets.

@danielmorrison
Created April 21, 2010 17:09
Show Gist options
  • Save danielmorrison/374111 to your computer and use it in GitHub Desktop.
Save danielmorrison/374111 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<title>eHarbor</title>
<%= stylesheet_link_tag 'boilerplate', 'main' %>
<%= javascript_include_tag :defaults %>
<!--[if IE]>
<%= javascript_include_tag 'http://html5shiv.googlecode.com/svn/trunk/html5.js' %>
<![endif]-->
</head>
<body>
<div id="main">
<header>
<div id="toolbar">
<% if signed_in? %>
Signed in as <%=h current_user %> |
<%= link_to 'Sign Out', session_path, :method => :delete %>
<% else %>
<%= link_to 'Sign In', new_session_path %> |
<%= link_to 'Register', new_user_path %>
<% end %>
</div>
<h1>
<%= link_to '<span class="e1">e</span><span class="h2">H</span><span class="a3">a</span><span class="r4">r</span><span class="b5">b</span><span class="o6">o</span><span class="r7">r</span>', root_path %>
</h1>
<nav>
<ul>
<li><%= link_to "Buy", listings_path %></li>
<li><%= link_to "Sell", new_listing_path %></li>
</ul>
</nav>
</header>
<div id="flash">
<% flash.each do |key, value| %>
<div id="flash_<%= key %>">
<%=h value %>
</div>
<% end %>
</div>
<%= yield %>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment