<%= for b <- @bans do %> <%= if active?(b) do %> <% else %> <% end %> <% end %>
Ban Enacted Ban Expires Duration Active? Reason Ban ID
<%= pretty_time(b.created_at) %> <%= pretty_time(b.valid_until) %> <%= distance_of_time_in_words(b.created_at, b.valid_until) %> Yes No <%= b.reason %> <%= b.generated_ban_id %>