- if @organization_list.count > 1
  = form_tag inventory_index_path, :id => 'filter_form', :method => "get", :class => 'navbar-form navbar-right panel-action' do
    = hidden_field_tag :asset_type, @asset_type
    = hidden_field_tag :asset_subtype, @asset_subtype
    = hidden_field_tag :start_row, 0
    .form-group
      = select_tag(:org_id, options_for_select(Organization.where('id IN (?)', @organization_list).collect{|a| [a.coded_name, a.id]}, :selected => @org_filter), :class => "form-control", :style => "width: 200px;", :prompt => "Any Organization...")

.btn-group.pull-right.panel-action
  %button.btn.btn-primary.btn-sm.dropdown-toggle{:data => {:toggle => 'dropdown'}}
    I want to  
    %span.caret
  %ul.dropdown-menu{:role => 'menu'}
    %li
      = link_to inventory_index_path(:asset_type => @asset_type, :asset_subtype => @asset_subtype, :start_row => 0, :format => 'xls') do
        %i.fa.fa-fw.fa-file-excel-o
        = " Export list to Excel"

:javascript
  $(document).ready(function() {

    $('#org_id').change(function() {
      $('#filter_form').submit();
    });
    
  });    
- if @organization_list.count > 1
  = form_tag inventory_index_path, :id => 'filter_form', :method => "get", :class => 'navbar-form navbar-right panel-action' do
    = hidden_field_tag :asset_type, @asset_type
    = hidden_field_tag :asset_subtype, @asset_subtype
    = hidden_field_tag :start_row, 0
    .form-group
      = select_tag(:org_id, options_for_select(Organization.where('id IN (?)', @organization_list).collect{|a| [a.coded_name, a.id]}, :selected => @org_filter), :class => "form-control", :style => "width: 200px;", :prompt => "Any Organization...")

.btn-group.pull-right.panel-action
  %button.btn.btn-primary.btn-sm.dropdown-toggle{:data => {:toggle => 'dropdown'}}
    I want to
    %span.caret
  %ul.dropdown-menu{:role => 'menu'}
    %li
      = link_to inventory_index_path(:asset_type => @asset_type, :asset_subtype => @asset_subtype, :start_row => 0, :format => 'xls') do
        %i.fa.fa-fw.fa-file-excel-o
        = " Export list to Excel"

- SystemConfig.transam_module_names.each do |mod|
  = render :partial => "assets/#{mod}_index_actions" rescue nil

:javascript
  $(document).ready(function() {

    $('#org_id').change(function() {
      $('#filter_form').submit();
    });

  });

Allow engines to drop UI components on the asset index actions panel header
Allow engines to drop UI components on the asset index actions panel header
