<!DOCTYPE html>
<html lang="en">
<head>
  <!--
    normalize.css removes cross-browser differences in defaults, e.g.,
    differences in how form elements appear between Firefox and IE
    See: http://necolas.github.com/normalize.css/
  -->
  <link rel="stylesheet" href="/css/normalize.css">
  <!--
    application.css is where you put your styles
  -->
  <link rel="stylesheet" href="/css/application.css">

  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
  <script src="/js/application.js"></script>

  <title>Throwback Overflow</title>
</head>
<body>
<h1>Throwback Overflow</h1>
<nav>
  <ul>
    <li><a href="/">Home</a></li>
    <li><a href="/users/login">Login</a></li>
    <li><a href="/users/new">Register</a></li>
    <% if logged_in? %>
    <li>
      <form action="/users/logout" method="POST">
        <input type="submit" value="Log Out"/>
      </form>
    </li>
    <% end %>
  </ul>
</nav>
<div id="content">
  <%= yield %>
</div>
</body>
</html>

<!DOCTYPE html>
<html lang="en">
<head>
  <!--
    normalize.css removes cross-browser differences in defaults, e.g.,
    differences in how form elements appear between Firefox and IE
    See: http://necolas.github.com/normalize.css/
  -->
  <link rel="stylesheet" href="/css/normalize.css">
  <!--
    application.css is where you put your styles
  -->
  <link rel="stylesheet" href="/css/application.css">

  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
  <script src="/js/application.js"></script>

  <title>Throwback Overflow</title>
</head>
<body>
<h1>Throwback Overflow</h1>
<nav>
  <ul>
    <li><a href="/">Home</a></li>
    <% if logged_in? %>
    <li><a href="/questions/new">Add a Throwback</a></li>
    <li>
      <form action="/users/logout" method="POST">
        <input type="submit" value="Log Out"/>
      </form>
    </li>
    <% else %>
    <li><a href="/users/login">Login</a></li>
    <li><a href="/users/new">Register</a></li>
    <% end %>
  </ul>
</nav>
<div id="content">
  <%= yield %>
</div>
</body>
</html>

Add new throwback link in nav for logged in users
Add new throwback link in nav for logged in users
