From 026a64cca6dc60fe25cde70bc2fc842a0daf6562 Mon Sep 17 00:00:00 2001 From: r888888888 Date: Sun, 25 Sep 2016 14:59:29 -0700 Subject: [PATCH] fix artist form error --- app/views/artists/edit.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/artists/edit.html.erb b/app/views/artists/edit.html.erb index cc12ba3e4..18409448f 100644 --- a/app/views/artists/edit.html.erb +++ b/app/views/artists/edit.html.erb @@ -5,11 +5,11 @@ <% if !@artist.is_active? %>

This artist entry is inactive and cannot be edited.

- <% elsif @artist.editable_by?(CurrentUser.user) %> - <%= render "form" %> + <% elsif @artist.is_banned? %> +

The artist requested removal of this page.

<% else %> -

The artist requested removal of this page.

+ <%= render "form" %> <% end %>