Skip to content


Subversion checkout URL

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

Cannot retrieve contributors at this time

43 lines (43 sloc) 1.362 kB
<!DOCTYPE html>
<meta charset="utf-8">
<title>Ruby + Zombies - What else would you need to buy?</title>
<%= stylesheet_link_tag 'master' %>
<header id="top">
<aside id='user-bar'>
<% if user_signed_in? %>
Welcome, <b><%= %></b>. <%= link_to "Sign Out", '/users/sign_out' %>
<% else %>
<%= link_to 'Sign In', '/users/sign_in' %> |
<%= link_to 'Sign Up', '/users/sign_up' %>
<% end %>
<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'>
<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 %>
<% 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>
<% end %>
<section id="body">
<%= yield %>
Copyright &copy; 2010 Intridea, Inc. No rights reserved.
Jump to Line
Something went wrong with that request. Please try again.