<!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></title>
</head>
<body>
  <%if current_user %>
    <div class="top_button">
      <a href="/logout">Logout</a>
    </div>
  <%else%>
    <div class="top_button">
      <a href="/login">Login</a>
    </div>
    <div class="top_button">
      <a href="/users/new">Create Account</a>
    </div>
  <%end%>
  <div class="top_button">
    <a href="/home">Home</a>
  </div>
  <div class="top_button">
    <a href="/videos/new">Post New Video</a>
  </div>
  <%= yield %>
</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></title>
</head>
<body>
  <div class="top_button">
    <a href="/home">Home</a>
  </div>
  <%if current_user %>
    <div class="top_button">
      <a href="/logout">Logout</a>
    </div>
    <div class="top_button">
      <a href="/videos/new">Post New Video</a>
    </div>
  <%else%>
    <div class="top_button">
      <a href="/login">Login</a>
    </div>
    <div class="top_button">
      <a href="/users/new">Create Account</a>
    </div>
  <%end%>
  <%= yield %>
</body>
</html>

Move home button and allow only users to create videos
Move home button and allow only users to create videos
