app/views/spree/shared/_search.html.erb in spree_frontend-2.0.5 vs app/views/spree/shared/_search.html.erb in spree_frontend-2.0.6
- old
+ new
@@ -1,9 +1,9 @@
<% @taxons = @taxon && @taxon.parent ? @taxon.parent.children : Spree::Taxon.roots %>
<%= form_tag spree.products_path, :method => :get do %>
<%= select_tag :taxon,
options_for_select([[Spree.t(:all_departments), '']] +
@taxons.map {|t| [t.name, t.id]},
- @taxon ? @taxon.id : params[:taxon]) %>
+ @taxon ? @taxon.id : params[:taxon]), 'aria-label' => 'Taxon' %>
<%= search_field_tag :keywords, params[:keywords], :placeholder => Spree.t(:search) %>
<%= submit_tag Spree.t(:search), :name => nil %>
<% end %>