#1383: Remove banned_artist tag

This commit is contained in:
Toks
2014-03-07 20:21:07 -05:00
parent 0724f6ca06
commit 01b847d07f
3 changed files with 9 additions and 3 deletions

View File

@@ -22,7 +22,7 @@
<% end %>
<% if CurrentUser.is_admin? %>
<% if @artist.is_banned? %>
<li><%= link_to "unban", unban_artist_path(@artist), :method => :put, :confirm => "Are you sure you want to unban this artist?" %></li>
<li><%= link_to "Unban", unban_artist_path(@artist), :method => :put, :confirm => "Are you sure you want to unban this artist?" %></li>
<% else %>
<li><%= link_to "Ban", ban_artist_path(@artist), :method => :put, :confirm => "Are you sure you want to ban this artist?" %></li>