dmails: add search[title_matches] param.

This commit is contained in:
evazion
2017-04-29 11:39:18 -05:00
parent 27d6025425
commit d1216f260e
2 changed files with 10 additions and 0 deletions

View File

@@ -4,6 +4,7 @@
<%= simple_form_for(:search, url: dmails_path, method: :get, defaults: { required: false }, html: { class: "inline-form" }) do |f| %>
<%= f.hidden_field :folder, value: params[:folder] %>
<%= f.input :title_matches, label: "Title", hint: "Use * for wildcard", input_html: { value: params[:search][:title_matches] } %>
<%= f.input :message_matches, label: "Message", hint: "Use * for wildcard", input_html: { value: params[:search][:messages_matches] } %>
<%= f.input :to_name, label: "To", input_html: { value: params[:search][:to_name] } %>
<%= f.input :from_name, label: "From", input_html: { value: params[:search][:from_name] } %>