This commit is contained in:
albert
2013-01-06 17:14:21 -05:00
parent 49f062d9f8
commit 45702ecc35

View File

@@ -17,7 +17,7 @@
</div>
<div class="input">
<%= f.label :source, nil, :title => "You can enter a URL to have #{Danbooru.config.app_name} automatically download and process it" %>
<%= f.label :source, @post.try(:source), :title => "You can enter a URL to have #{Danbooru.config.app_name} automatically download and process it" %>
<%= f.text_field :source, :size => 50, :value => params[:url] %>
<%= button_tag "Similar", :id => "similar-button" %>
<%= button_tag "Artist", :id => "find-artist-button" %>
@@ -50,15 +50,15 @@
<%= button_tag "Copyrights", :id => "related-copyrights-button" %>
</div>
<div class="input">
<%= submit_tag "Submit", :class => "large" %>
</div>
<div id="related-tags-container">
<h1>Related Tags</h1>
<div id="related-tags">
</div>
</div>
<div class="input">
<%= submit_tag "Submit", :class => "large" %>
</div>
<% end %>
</div>
</div>