0
0
Fork 0
mirror of https://github.com/ENSL/ensl.org.git synced 2025-02-13 07:20:59 +00:00
ensl.org/app/views/bans/index.html.erb

14 lines
328 B
Text
Raw Normal View History

<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>