<div class="header">
  <div class="row">
    <span class="info">
      <strong>Date</strong>
      <%= compact_time(post.created_at) %>
    </span>
    <span class="info">
      <strong>User</strong>
      <%= link_to_user(post.uploader) %>
    </span>
    <span class="info">
      <strong>Rating</strong>
      <%= post.rating %>
    </span>
    <span class="info">
      <strong>Score</strong>
      <span>
        <span id="score-for-post-<%= post.id %>"><%= post.score %></span>
        <% if CurrentUser.is_gold? %>
          (vote <%= link_to("up", post_votes_path(:score => "up", :post_id => post.id), :remote => true, :method => :post) %>/<%= link_to("down", post_votes_path(:score => "down", :post_id => post.id), :remote => true, :method => :post) %>)
        <% end %>
      </span>
    </span>
  </div>
  <div class="row list-of-tags">
    <strong>Tags</strong>
    <% post.tag_array.each do |tag_name| %>
      <span class="category-<%= Tag.category_for(tag_name) %>">
        <%= link_to(tag_name.tr("_", " "), posts_path(:tags => tag_name)) %>
      </span>
    <% end %>
  </div>
</div>

