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