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

10 lines
230 B
Plaintext

<% if @download.matches.any? %>
<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 %>