ensl.org/app/views/bans/index.html.erb
Luke Barratt 5cd2d098a0 Completed restyling:
- Bans
- Articles
- Forums
- Users

Further styling improvements to form elements
2014-04-20 02:29:52 +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>