ensl.org/app/views/bans/index.html.erb

11 lines
238 B
Text
Raw Normal View History

<h1>Active bans</h1>
<%= render :partial => "list", :locals => {:bans => @bans.effective} %>
<br />
<h1>Ban history</h1>
<%= render :partial => "list", :locals => {:bans => @bans.ineffective} %>
<%= link_to 'New ban', new_ban_path %>