Files
danbooru/app/views/iqdb/similar_by_source.html.erb
2014-04-12 14:30:36 -07:00

10 lines
225 B
Plaintext

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