emails: remove "Valid?" search option.

No longer necessary after running previous commit because all invalid
email addresses have been purged.
This commit is contained in:
evazion
2021-01-01 22:46:46 -06:00
parent 1aabc0aae0
commit dbe2eeb00d
3 changed files with 0 additions and 18 deletions

View File

@@ -7,7 +7,6 @@
<%= f.input :address_ilike, label: "Address", input_html: { value: params[:search][:address_ilike] }, hint: "Use * for wildcard" %>
<%= f.input :normalized_address_ilike, label: "Normalized Address", input_html: { value: params[:search][:normalized_address_ilike] }, hint: "Use * for wildcard" %>
<%= f.input :is_valid, label: "Valid?", as: :select, include_blank: true, selected: params[:search][:is_valid] %>
<%= f.input :is_verified, label: "Verified?", as: :select, include_blank: true, selected: params[:search][:is_verified] %>
<%= f.input :is_restricted, label: "Restricted?", as: :select, include_blank: true, selected: params[:search][:is_restricted] %>
<%= f.submit "Search" %>
@@ -25,11 +24,6 @@
<%= link_to email.normalized_address, emails_path(search: { normalized_address_ilike: email.normalized_address }) %>
<% end %>
<% end %>
<% t.column "Valid?" do |email| %>
<% if !email.is_valid? %>
<%= link_to "No", emails_path(search: { is_valid: false }) %>
<% end %>
<% end %>
<% t.column "Restricted?" do |email| %>
<% if email.is_restricted? %>
<%= link_to "Yes", emails_path(search: { is_restricted: true }) %>