Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: fc4a7716e1
Fetching contributors…

Cannot retrieve contributors at this time

43 lines (43 sloc) 1.362 kB
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Ruby + Zombies - What else would you need to buy?</title>
<%= stylesheet_link_tag 'master' %>
</head>
<body>
<header id="top">
<aside id='user-bar'>
<% if user_signed_in? %>
Welcome, <b><%= current_user.name %></b>. <%= link_to "Sign Out", '/users/sign_out' %>
<% else %>
<%= link_to 'Sign In', '/users/sign_in' %> |
<%= link_to 'Sign Up', '/users/sign_up' %>
<% end %>
</aside>
<h1>The <span style='font-family: "DejaVu Sans Mono"'>Ruby</span> &amp; <span style='font-family:"Newsflash BB";'>Zombies</span> Store</h1>
<nav id='menu'>
<ul>
<li><%= link_to 'Products', '/products' %></li>
<li><%= link_to 'People', '/users' %></li>
<% if user_signed_in? %>
<li><%= link_to 'Notifications', user_path(current_user) %></li>
<% end %>
</ul>
</nav>
</header>
<% if flash.keys.any? %>
<section class='flash'>
<ul><% flash.each_pair do |k,v| %>
<li><b><%= k.to_s.titleize %>:</b> <%= v%>.</li>
<% end %></ul>
</section>
<% end %>
<section id="body">
<%= yield %>
</section>
<footer>
Copyright &copy; 2010 Intridea, Inc. No rights reserved.
</footer>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.