<div class="topic-information">
  <%= render :partial => 'shared/welcome_navigation', :locals => { :club => @topic.club } %>

  <h1 class="topic-subject">
    <%= @topic.subject %>
  </h1>

  <p class="topic-description">
    <%= @topic.description %>
  </p>

  <div class="topic-controls">
    <%- if can?(:create, @topic.posts.build) %>
      <div class="add-topic-post">
        <a href="<%= new_topic_post_path(@topic) %>" data-remote="true" class="add-topic-post-link">Post</a>
      </div>
    <%- end %>
  </div>

  <div class="topic-posts row-fluid">
    <%= render :partial => "posts/list", :locals => { :topic => @topic } %>
  </div>

  <%- unless @topic.posts.blank? %>
    <div class="topic-controls">
      <%- if can?(:create, @topic.posts.build) %>
        <div class="add-topic-post">
          <a href="<%= new_topic_post_path(@topic) %>" data-remote="true" class="add-topic-post-link">Post</a>
        </div>
      <%- end %>
    </div>
  <%- end %>
</div>

<div class="topic-information">
  <%= render :partial => 'shared/welcome_navigation', :locals => { :club => @topic.club } %>

  <h1 class="topic-subject">
    <%= @topic.subject %>
  </h1>

  <p class="topic-description">
    <%= @topic.description %>
  </p>

  <div class="topic-controls">
    <%- if can?(:create, @topic.posts.build) %>
      <div class="add-topic-post">
        <a href="<%= new_topic_post_path(@topic) %>" data-remote="true" class="add-topic-post-link">Post</a>
      </div>
    <%- end %>
  </div>

  <div class="topic-posts row-fluid">
    <%= render :partial => "posts/list", :locals => { :topic => @topic } %>
  </div>

  <%- unless @topic.posts.select{ |post| !post.new_record? }.blank? %>
    <div class="topic-controls">
      <%- if can?(:create, @topic.posts.build) %>
        <div class="add-topic-post">
          <a href="<%= new_topic_post_path(@topic) %>" data-remote="true" class="add-topic-post-link">Post</a>
        </div>
      <%- end %>
    </div>
  <%- end %>
</div>

Update Topic Create Post Links to Hide if Empty
Update Topic Create Post Links to Hide if Empty

Update the Topic view to ensure that the "Post" link (bottom) is hidden
if the Topic currently has no Posts.
