add antivoters (no behavior yet)

This commit is contained in:
r888888888
2016-09-19 16:47:55 -07:00
parent bf2246f895
commit b2e6a8f031
5 changed files with 66 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
<div id="c-super-voters">
<div id="a-index">
<h1>Anti Voters</h1>
<ul>
<% @anti_voters.each do |anti_voter| %>
<li><%= link_to_if CurrentUser.user.is_janitor?, anti_voter.user.name, posts_path(tags: "upvote:#{anti_voter.user.name}") %></li>
<% end %>
</ul>
</div>
</div>
<% content_for(:page_title) do %>
Anti Voters - <%= Danbooru.config.app_name %>
<% end %>