diff --git a/app/views/artists/_show.html.erb b/app/views/artists/_show.html.erb deleted file mode 100644 index 95fd6b581..000000000 --- a/app/views/artists/_show.html.erb +++ /dev/null @@ -1,24 +0,0 @@ -<% page_title "#{@artist.pretty_name.titleize} | Artist Profile" %> -<%= render "secondary_links" %> - -
The artist requested removal of this page.
- <% else %> - <%= yield %> - - <% if @artist.tag.present? && @artist.tag.post_count > 0 %> -The artist requested removal of this page.
+<% elsif artist.new_record? %> +This artist entry does not exist. <%= link_to "Create new artist entry", new_artist_path(artist: { name: artist.name }), rel: "nofollow" %>.
<% else %> - <% if artist.other_names.present? %>The artist requested removal of this page.
+ <% else %> + <%= render "artists/summary", artist: @artist %> + + <% if @artist.tag.present? && @artist.tag.post_count > 0 %> +This artist entry does not exist. <%= link_to "Create new artist entry", new_artist_path(artist: { name: params[:name] }), rel: "nofollow" %>.
-