Module: Adminterface::Extensions::Views::IndexAsTable

Defined in:
lib/adminterface/extensions/views/index_as_table.rb

Instance Method Summary collapse

Instance Method Details

#default_class_nameObject



11
12
13
# File 'lib/adminterface/extensions/views/index_as_table.rb', line 11

def default_class_name
  "#{super} index"
end

#table_for(*args, &block) ⇒ Object



5
6
7
8
9
# File 'lib/adminterface/extensions/views/index_as_table.rb', line 5

def table_for(*args, &block)
  div class: index_as_table_css_classes[:wrapper] do
    super(*args, &block)
  end
end