Fix #3626: Artist creation page doesn't autocomplete the name anymore.

This commit is contained in:
evazion
2018-04-12 16:23:59 -05:00
parent 5546d9e98b
commit af9a09c2cb
3 changed files with 8 additions and 15 deletions

View File

@@ -1711,7 +1711,7 @@ class Post < ApplicationRecord
new_artist_tags.each do |tag|
if tag.artist.blank?
self.warnings[:base] << "Artist [[#{tag.name}]] requires an artist entry. \"Create new artist entry\":[/artists/new?name=#{CGI::escape(tag.name)}]"
self.warnings[:base] << "Artist [[#{tag.name}]] requires an artist entry. \"Create new artist entry\":[/artists/new?artist%5Bname%5D=#{CGI::escape(tag.name)}]"
end
end
end