artists: fix edit form fields not being prefilled.

* Fix the artist URLs field not being prefilled when clicking
  "Create new artist" in the "Fetch source data" box.

* Fix the artist name field not being prefilled when clicking
  "Create new artist entry" on the /artists/show_or_new?name=<name> page.
This commit is contained in:
evazion
2018-04-14 21:26:45 -05:00
parent 5c94c0cefe
commit 2c46191f99
2 changed files with 2 additions and 2 deletions

View File

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