Class: ActiveAdmin::Filters::ActiveSidebar

Inherits:
SidebarSection show all
Defined in:
lib/active_admin/filters/active_sidebar.rb

Instance Attribute Summary

Attributes inherited from SidebarSection

#name, #options

Instance Method Summary collapse

Methods inherited from SidebarSection

#custom_class, #id, #partial_name, #priority

Methods included from OptionalDisplay

#display_on?

Constructor Details

#initializeActiveSidebar

Returns a new instance of ActiveSidebar.



8
9
10
# File 'lib/active_admin/filters/active_sidebar.rb', line 8

def initialize
  super "search_status", sidebar_options
end

Instance Method Details

#blockObject



12
13
14
# File 'lib/active_admin/filters/active_sidebar.rb', line 12

def block
  -> { active_filters_sidebar_content }
end

#titleObject



16
17
18
# File 'lib/active_admin/filters/active_sidebar.rb', line 16

def title
  I18n.t("active_admin.search_status.headline")
end