fix artist form error

This commit is contained in:
r888888888
2016-09-25 14:59:29 -07:00
parent 46b8ce06bc
commit 026a64cca6

View File

@@ -5,11 +5,11 @@
<% if !@artist.is_active? %>
<p>This artist entry is inactive and cannot be edited.</p>
<% elsif @artist.editable_by?(CurrentUser.user) %>
<%= render "form" %>
<% elsif @artist.is_banned? %>
<p>The artist requested removal of this page.</p>
<% else %>
<p>The artist requested removal of this page.</p>
<%= render "form" %>
<% end %>
</div>
</div>