<%= content_tag(:div, :class => 'filter-element wrapper foobar') do -%>
  <%= content_tag(:div, 'Filter By:', :class => 'filter-element desc') %>
  <!-- order by filter -->
  <%= select_tag(:musician_order_by, options_for_select(Search::M_ORDERINGS), {:class => 'musician-order-by easydropdown'} ) %>
<% end -%>
<%= content_tag(:div, :class => "filter-element wrapper") do -%>
  <%= content_tag(:div, :class => 'filter-element wrapper') do -%>
    <!-- instrument filter -->
    <%= content_tag(:div, 'Instrumente:', :class => 'filter-element') %>
    <%= select_tag(:musician_instrument,
	  options_for_select([['Any', '']].concat(JamRuby::Instrument.all.collect { |ii| [ii.description, ii.id] }))) %>
  <% end -%>
<% end -%>
<!-- distance filter -->
<%= content_tag(:div, :class => 'filter-element wrapper') do -%>
  <%= content_tag(:div, 'Latency:', :class => 'filter-element desc') %>
  <%= content_tag(:div, :class => 'query-distance-params') do -%>
    <%= select_tag('musician_query_score', options_for_select(Search::M_SCORE_OPTS, Search::M_SCORE_DEFAULT)) %>
  <% end -%>
  <%= content_tag(:div, :class => 'filter-element') do -%>
    to <%= content_tag(:span, current_user ? current_user.current_city(request.remote_ip) : '', :id => 'musician-filter-city') %>
  <% end -%>
<% end -%>
<%= content_tag(:div,
link_to('REFRESH', '#',
    :id => 'btn-refresh-musicians',
    :style => 'text-decoration:none',
    :class => 'button-grey'),
:class => 'filter-element wrapper right mr10') %>
