diff --git a/app/views/artists/search.html.erb b/app/views/artists/search.html.erb index bfbb28e36..6ab786628 100644 --- a/app/views/artists/search.html.erb +++ b/app/views/artists/search.html.erb @@ -4,10 +4,10 @@
<%= 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 %>
diff --git a/app/views/dmails/_search.html.erb b/app/views/dmails/_search.html.erb index fc844d27a..ed6cf1589 100644 --- a/app/views/dmails/_search.html.erb +++ b/app/views/dmails/_search.html.erb @@ -1,10 +1,10 @@
<%= simple_form_for @search do |f| %> <%= hidden_field_tag :folder, params[:folder] %> - <%= f.input :title_contains %> - <%= f.input :body_contains %> - <%= f.input :to_name_equals %> - <%= f.input :from_name_equals %> + <%= f.input :title_contains, :required => false %> + <%= f.input :body_contains, :required => false %> + <%= f.input :to_name_equals, :required => false %> + <%= f.input :from_name_equals, :required => false %> <%= f.button :submit %> <% end %>
diff --git a/app/views/notes/search.html.erb b/app/views/notes/search.html.erb index ca9d1298f..35fa406a9 100644 --- a/app/views/notes/search.html.erb +++ b/app/views/notes/search.html.erb @@ -1,8 +1,8 @@