Merge branch 'iqdb'
This commit is contained in:
6
app/views/iqdb/similar_by_source.html.erb
Normal file
6
app/views/iqdb/similar_by_source.html.erb
Normal file
@@ -0,0 +1,6 @@
|
||||
<% if @download.similar_posts %>
|
||||
<h3>Similar</h3>
|
||||
<% @download.similar_posts.each do |similar| %>
|
||||
<%= PostPresenter.preview(Post.find(similar.post_id)) %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
@@ -59,6 +59,12 @@
|
||||
<%= f.text_field :parent_id %>
|
||||
</div>
|
||||
|
||||
<% if false && Danbooru.config.iqdb_hostname_and_port && params[:url] %>
|
||||
<div class="input" id="iqdb-similar">
|
||||
<p><em>Loading similar...</em></p>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<div class="input">
|
||||
<div>
|
||||
<%= f.label :tag_string, "Tags" %>
|
||||
|
||||
Reference in New Issue
Block a user