artists: unify show and show_or_new templates.

This commit is contained in:
evazion
2022-02-08 23:11:56 -06:00
parent 7bbe6e9d22
commit c207f34dbb
4 changed files with 25 additions and 34 deletions

View File

@@ -1,5 +0,0 @@
<%= render layout: "show" do %>
<div>
<p>This artist entry does not exist. <%= link_to "Create new artist entry", new_artist_path(artist: { name: params[:name] }), rel: "nofollow" %>.</p>
</div>
<% end %>

View File

@@ -0,0 +1 @@
show.html.erb