<% page_title "Ban: #{@ban.user.pretty_name}" %>
<%= render "secondary_links" %>

<div id="c-bans">
  <div id="a-show">
    <h1>Show Ban</h1>
    <ul style="margin-bottom: 1em;">
      <li><strong>User</strong> <%= link_to_user(@ban.user) %></li>
      <li><strong>Duration</strong> <%= humanized_duration(@ban.duration) %></li>
      <li>
        <strong>Reason</strong>
        <div class="prose">
          <%= format_text @ban.reason %>
        </div>
      </li>
    </ul>

    <%= form_tag(ban_path(@ban), :method => :delete) do %>
      <%= submit_tag "Unban" %>
    <% end %>
  </div>
</div>
