class TreeBuilderTemplateFilter < TreeBuilderVmsFilter
  def tree_init_options(tree_name)
    super.update(:leaf => 'ManageIQ::Providers::InfraManager::Template')
  end

  def set_locals_for_render
    locals = super
    locals.merge!(
      :tree_id   => "templates_filter_treebox",
      :tree_name => "templates_filter_tree",
      :autoload  => false
    )
  end
end

class TreeBuilderTemplateFilter < TreeBuilderVmsFilter
  def tree_init_options(tree_name)
    super.update(:leaf => 'ManageIQ::Providers::InfraManager::Template')
  end

  def set_locals_for_render
    locals = super
    locals.merge!(
      :tree_id   => "templates_filter_treebox",
      :tree_name => "templates_filter_tree",
      :autoload  => false
    )
  end

  def root_options
    [_("All Templates"), _("All of the Templates that I can see")]
  end
end

Add correct root to TreeBuilderTemplateFilter
Add correct root to TreeBuilderTemplateFilter
