ensl.org/app/views/bans/index.html.erb
Luke Barratt eee037b42c Update button copy
Improve news archive
2014-05-02 09:06:12 +01:00

14 lines
No EOL
328 B
Text

<div id="bans">
<h1>Active Bans</h1>
<%= link_to 'New Ban', new_ban_path, class: 'button' %>
<%= render partial: "list", locals: { bans: @bans.effective } %>
<h1>Ban History</h1>
<%= render partial: "list", locals: { bans: @bans.ineffective } %>
<%= link_to 'New Ban', new_ban_path, class: 'button' %>
</div>