Fixes #37: Search function for artists requires all fields to be completed (fixed for all searches)

This commit is contained in:
albert
2011-09-11 14:51:09 -04:00
parent 0c895f892b
commit ff4e3e3ad1
3 changed files with 10 additions and 10 deletions

View File

@@ -1,8 +1,8 @@
<div id="c-notes">
<div id="a-search">
<%= simple_form_for @search do |f| %>
<%= f.input :body_matches, :label => "Body" %>
<%= f.input :post_tag_match, :label => "Tags" %>
<%= f.input :body_matches, :label => "Body", :required => false %>
<%= f.input :post_tag_match, :label => "Tags", :required => false %>
<%= f.button :submit, "Search" %>
<% end %>
</div>