<div id="guide-nav">
  <ul>
    <li><a href="#new">New</a></li>
    <li><a href="#published">Published</a></li>
    <li><a href="#archive">Archive</a></li>
    <li><a href="#review-requested">Review Requested</a></li>
  </ul>

  <div id="new">
    <table cellspacing="0">
      <thead>
        <tr>
          <th>Title</th>
        </tr>
      </thead>
      <tbody>
        <% @guides.each do |guide| %>
        <tr>
          <td>
            <%= link_to guide.title, [:admin, guide] %>
          </td>
          <td>
            <%= link_to 'Edit', [:edit, :admin, guide] %>
            <%= link_to 'Preview', '#' %>
          </td>
        </tr>
        <% end %>
      </tbody>
    </table>
  </div>

  <div id="published">
  </div>
  <div id="archive">
  </div>
  <div id="review-requested">
  </div>
</div>

<p class="button"><%= link_to '+ Add New', new_admin_guide_path %></p>

<% content_for :extra_javascript do %>
<script type="text/javascript" charset="utf-8">
$(function () { $('#guide-nav').tabs(); });
</script>
<% end %>
<div id="guide-nav">
  <ul>
    <li><a href="#new">New</a></li>
    <li><a href="#published">Published</a></li>
    <li><a href="#archive">Archive</a></li>
    <li><a href="#review-requested">Review Requested</a></li>
  </ul>

  <div id="new">
    <table cellspacing="0">
      <thead>
        <tr>
          <th>Title</th>
          <td></td>
        </tr>
      </thead>
      <tbody>
        <% @guides.each do |guide| %>
        <tr>
          <td>
            <%= guide.title %>
          </td>
          <td>
            <%= link_to 'Edit', [:admin, guide] %>
            <%= link_to 'Preview', '#' %>
          </td>
        </tr>
        <% end %>
      </tbody>
    </table>
  </div>

  <div id="published">
    <p>This will list published guides</p>
  </div>
  <div id="archive">
    <p>This will list archived guides</p>
  </div>
  <div id="review-requested">
    <p>This will list guides pending review</p>
  </div>
</div>

<p class="button"><%= link_to '+ Add New', new_admin_guide_path %></p>

<% content_for :extra_javascript do %>
<script type="text/javascript">
$(function () { $('#guide-nav').tabs(); });
</script>
<% end %>
Make sure 'edit' link works. Add some basic content for the other tabs in the guide list so we can test them
Make sure 'edit' link works. Add some basic content for the other tabs in the guide list so we can test them
