Module: Adminterface::Extensions::Views::IndexTableFor
- Defined in:
- lib/adminterface/extensions/views/index_as_table.rb
Instance Method Summary collapse
Instance Method Details
#default_css_classes ⇒ Object
17 18 19 |
# File 'lib/adminterface/extensions/views/index_as_table.rb', line 17 def default_css_classes "#{super} #{index_as_table_css_classes[:table]}".squish end |
#dropdown_menu(*args, &block) ⇒ Object
21 22 23 24 |
# File 'lib/adminterface/extensions/views/index_as_table.rb', line 21 def (*args, &block) = args. super(*args, .merge(button: {class: index_as_table_css_classes.dig(:actions, :dropdown, :toggle)}), &block) end |