Also allow Members to edit deleted or banned artists. Previously this was limited in the html, but not in the backend.
14 lines
260 B
Plaintext
14 lines
260 B
Plaintext
<div id="c-artists">
|
|
<div id="a-edit">
|
|
<h1>Edit Artist</h1>
|
|
|
|
<% if @artist.is_banned? %>
|
|
<p>The artist requested removal of this page.</p>
|
|
<% else %>
|
|
<%= render "form" %>
|
|
<% end %>
|
|
</div>
|
|
</div>
|
|
|
|
<%= render "secondary_links" %>
|