= form_tag report_url(@report), :class => "navbar-form navbar-right", :method => :get, :id => 'report_filter_form', :role => "form" do
  .form-group
    = select_tag(:report_filter_type, options_for_select(@asset_types, :selected => @report_filter_type), :class => "form-control", :prompt => 'Any Type...', :id => 'asset_filter')

= link_to "#chart-div", :data => {:toggle => "collapse", :parent => "accordion"}, :class => "btn btn-default navbar-btn", :id => "chart-toggle" do
  Toggle chart

:javascript

  $(document).ready(function() {

    $('#asset_filter').change(function() {
      $('#report_filter_form').submit();
    });

  });

= form_tag report_url(@report), :class => "navbar-form navbar-right", :method => :get, :id => 'report_filter_form', :role => "form" do
  .form-group
    = select_tag(:report_filter_type, options_for_select(@asset_types, :selected => @report_filter_type), :class => "form-control", :prompt => 'Any Type...', :id => 'asset_filter')

:javascript

  $(document).ready(function() {

    $('#asset_filter').change(function() {
      $('#report_filter_form').submit();
    });

  });

Remove toggle chart action from report
Remove toggle chart action from report
