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

@@ -4,10 +4,10 @@
<div id="search-form">
<%= simple_form_for(@search) do |f| %>
<%= f.input :name_contains, :label => "Name" %>
<%= f.input :other_names_match, :label => "Other Names" %>
<%= f.input :group_name_contains, :label => "Group Name" %>
<%= f.input :url_match, :label => "URL" %>
<%= f.input :name_contains, :label => "Name", :required => false %>
<%= f.input :other_names_match, :label => "Other Names", :required => false %>
<%= f.input :group_name_contains, :label => "Group Name", :required => false %>
<%= f.input :url_match, :label => "URL", :required => false %>
<%= f.button :submit, "Search" %>
<% end %>
</div>