fixes to tag search page

This commit is contained in:
albert
2013-02-17 15:10:58 -05:00
parent 8554cdcc96
commit b4e338bf0f
5 changed files with 14 additions and 8 deletions

View File

@@ -17,7 +17,7 @@
<p><%= link_to "Reply &raquo;".html_safe, new_forum_post_path(:topic_id => @forum_topic.id) %></p>
<div id="topic-response">
<div style="display: none;" id="topic-response">
<%= render "forum_posts/form", :forum_post => ForumPost.new(:topic_id => @forum_topic.id) %>
</div>

View File

@@ -5,7 +5,7 @@
<div class="input">
<label for="search_category">Category</label>
<%= select "search", "category", Danbooru.config.canonical_tag_category_mapping.to_a %>
<%= select "search", "category", [""] + Danbooru.config.canonical_tag_category_mapping.to_a %>
</div>
<div class="input">
@@ -13,7 +13,7 @@
<%= select "search", "sort", %w(name count date) %>
</div>
<%= f.button :submit, "Search" %>
<%= submit_tag "Search" %>
<% end %>
</div>
</div>