fix artist form error
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user