forked from e621ng/e621ng
12 lines
377 B
Plaintext
12 lines
377 B
Plaintext
<% if @matches.present? %>
|
|
<h3>Similar Posts</h3>
|
|
<p class="hint">Found <%= pluralize(@matches.length, "similar post") %>:</p>
|
|
|
|
<% @matches.each do |match| %>
|
|
<%= PostPresenter.preview(match["post"], show_deleted: true, similarity: match["score"], size: true) %>
|
|
<% end %>
|
|
<% else %>
|
|
<h3>Similar Posts</h3>
|
|
<p class="hint">No similar posts found.</p>
|
|
<% end %>
|