This commit is contained in:
r888888888
2013-04-21 11:36:43 -07:00
parent 53c8babe3e
commit e2a38ebc17
11 changed files with 46 additions and 6 deletions

View File

@@ -1,11 +1,15 @@
<div class="bans">
<div class="show">
<h1>Show Ban</h1>
<ul>
<ul style="margin-bottom: 1em;">
<li><strong>User</strong>: <%= link_to_user(@ban.user) %></li>
<li><strong>Expires</strong>: <%= compact_time @ban.expires_at %></li>
<li><strong>Reason</strong>: <%= @ban.reason %></li>
</ul>
<%= form_tag(ban_path(@ban), :method => :delete) do %>
<%= submit_tag "Unban" %>
<% end %>
</div>
</div>