Files
danbooru/app/views/iqdb_queries/create_by_post.html.erb
r888888888 9e2c664a41 fixes #2130
2014-05-05 17:59:54 -07:00

10 lines
212 B
Plaintext

<% if @results.any? %>
<h3>Similar</h3>
<% @results.each do |match| %>
<%= PostPresenter.preview(Post.find(match.post_id)) %>
<% end %>
<% else %>
<h3>Similar</h3>
<p>No matches found</p>
<% end %>