added reltags/find artist/similar to post/edit page

This commit is contained in:
albert
2011-10-03 15:06:45 -04:00
parent ba9aa94e31
commit d79b3f4f3c
2 changed files with 17 additions and 2 deletions

View File

@@ -5,6 +5,10 @@ div#related-tags {
width: 100%;
margin-bottom: 1em;
div.artist {
margin-bottom: 1em;
}
div.tag-column {
max-width: 15em;
margin-right: 2em;

View File

@@ -48,13 +48,24 @@
<div class="input">
<%= f.label :source %>
<%= f.text_field :source %>
<%= button_tag "Similar", :id => "similar-button" %>
<%= button_tag "Artist", :id => "find-artist-button" %>
</div>
<div class="input">
<%= f.label :tag_string, "Tags" %>
<%= f.text_area :tag_string , :size => "50x3" %>
<div>
<%= f.label :tag_string, "Tags" %>
<%= f.text_area :tag_string , :size => "50x3" %>
</div>
<%= button_tag "Related tags", :id => "related-tags-button" %>
<%= button_tag "Artists", :id => "related-artists-button" %>
<%= button_tag "Characters", :id => "related-characters-button" %>
<%= button_tag "Copyrights", :id => "related-copyrights-button" %>
</div>
<div id="related-tags"></div>
<div class="input">
<%= submit_tag "Submit" %>
</div>