<% if current_user.any_admin? || @should_show_adjust_tags %>
<% end %>
<% @rating_vote = RatingVote.where(article_id: @moderatable.id, user_id: current_user.id).first %>
<% rating_hash = { "Expert" => [10, 5], "Advanced" => [8, 4], "Mid-level" => [5, 3], "Beginner" => [3, 2], "Novice" => [1, 1] } %>
<% rating_hash.each do |rating_name, rating_level| %>
<% end %>
How does this work?
<% if current_user.any_admin? && @moderatable.published %>
<% end %>