<%= link_to_function t('manage.model_filter.title'), "Manage.toggle_element('block_filter')", :class=>"dark-arr" %>
<%= cookie_content_tag(:div, :id=>"block_filter", :class=>"filt") do %>
<%= form_for @search, :as => :search, :url => manage_ballot_box_votes_path, :html=>{:method=>:get, :id=>"form_filter"} do |f| %>
<%= hidden_field_tag "voteable_id", @voteable.id %>
<%= hidden_field_tag "voteable_type", @voteable.class.name %>
<%= f.label :ip_address, t('activerecord.attributes.vote.ip_address') %>
<%= f.text_field :ip_address, :class=>"text" %>
<%= f.label :browser_name, t('activerecord.attributes.vote.browser_name') %>
<%= f.text_field :browser_name, :class=>"text" %>
<%= f.label :browser_platform, t('activerecord.attributes.vote.browser_platform') %>
<%= f.text_field :browser_platform, :class=>"text" %>
<%= content_tag(:button, :value => "search", :type => "submit", :name => "commit", :class => "gr cupid-green") do %>
<%= t('manage.model_filter.search') %>
<% end %>
<%= link_to t('manage.model_filter.clear'), manage_ballot_box_votes_path( voteable_scope(@voteable) ), :class=>"erase" %>
<% end %>
<% end %>
<%= link_to_function t("votes.#{@search.order_column}_#{@search.order_type}", :scope => [:manage, :sort_columns], :default => :"#{@search.order_column}_#{@search.order_type}"), "SelectList.toggle(event)", :class=>"corn", :id=>'sort_select' %>
<%= link_to_sort(t('votes.created_at_desc', :scope => [:manage, :sort_columns], :default => :created_at_desc), :name => "created_at", :order_type => 'desc') %>
<%= link_to_sort(t('votes.created_at_asc', :scope => [:manage, :sort_columns], :default => :created_at_asc), :name => "created_at", :order_type => 'asc') %>