mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-28 05:21:19 +00:00
6aa8903c11
Improve news archive
14 lines
No EOL
328 B
Text
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>
|
|
|