<div id="c-tag-aliases">
  <div id="a-show">
    <h1>Tag Alias: <%= @tag_alias.antecedent_name %> -&gt; <%= @tag_alias.consequent_name %></h1>

    <ul>
      <li><strong>From</strong> <%= link_to @tag_alias.antecedent_name, posts_path(:tags => @tag_alias.antecedent_name) %></li>
      <li><strong>To</strong> <%= link_to @tag_alias.consequent_name, posts_path(:tags => @tag_alias.consequent_name) %></li>
      <% if @tag_alias.forum_topic_id %>
        <li><strong>Reference</strong> <%= link_to "topic ##{@tag_alias.forum_topic_id}", forum_topic_path(@tag_alias.forum_topic_id) %></li>
      <% end %>
      <li><strong>Creator</strong> <%= link_to_user @tag_alias.creator %></li>
      <li><strong>Date</strong> <%= @tag_alias.created_at %></li>
      <% if @tag_alias.reason.present? %>
        <li>
          <strong>Reason</strong>
          <div class="prose">
            <%= format_text @tag_alias.reason %>
          </div>
        </li>
      <% end %>
      <li><strong>Status</strong> <%= @tag_alias.status %></li>
    </ul>
  </div>
</div>

<%= render "tags/secondary_links" %>
