IQDB Queries

<%= form_tag(check_iqdb_queries_path, :method => :get, :class => "simple_form inline-form" ) do %>
<%= label_tag "url", "URL", class: "string optional" %> <%= text_field_tag "url", params[:url] %>
<%= label_tag "post_id", "Post ID", class: "string optional" %> <%= text_field_tag "post_id", params[:post_id] %>
<%= submit_tag "Check" %> <% end %>
<% if params[:url].present? || params[:post_id].present? %>

Similar results

<% if @results.any? %> <% @results.each do |match| %> <%= PostPresenter.preview(match[:post], :tags => "status:any", :size => true, :similarity => match[:score]) %> <% end %> <% else %>

No matches found

<% end %>
<% end %>
<% content_for(:page_title) do %> IQDB Queries - <%= Danbooru.config.app_name %> <% end %>