app/views/search_results/sections/_terms.html.erb in iqvoc-4.11.1 vs app/views/search_results/sections/_terms.html.erb in iqvoc-4.12.0

- old
+ new

@@ -1,10 +1,13 @@ -<div class="form-group"> +<div class="form-group has-feedback"> <%= label_tag 'q', t('txt.views.search_results.search_term'), :class => 'col-sm-2 control-label' %> <div class="col-sm-4"> - <% if Iqvoc.searchable_classes.detect {|c| c.supports_multi_query? } %> - <%= text_area_tag :q, params[:query], :class => 'form-control' %> + <% if Iqvoc.searchable_class_names.key(params[:t]).constantize.supports_multi_query? %> + <%= text_area_tag :q, params[:query], :class => 'form-control', autofocus: true %> <% else %> - <%= text_field_tag :q, params[:query], :class => 'form-control' %> + <%= text_field_tag :q, params[:query], :class => 'form-control', autofocus: true %> + <span class="form-control-feedback" aria-hidden="true"> + <i class="fa fa-search"></i> + </span> <% end %> </div> </div>