Module: Adminterface::Extensions::Views::Components::AttributesTable
- Defined in:
- lib/adminterface/extensions/views/components/attributes_table.rb
Instance Method Summary collapse
Instance Method Details
#default_class_name ⇒ Object
10 11 12 |
# File 'lib/adminterface/extensions/views/components/attributes_table.rb', line 10 def default_class_name "#{super} #{attributes_table_css_classes[:wrapper]}".squish end |
#table ⇒ Object
6 7 8 |
# File 'lib/adminterface/extensions/views/components/attributes_table.rb', line 6 def table super(class: attributes_table_css_classes[:table]) end |
#tr(options = {}) ⇒ Object
14 15 16 17 |
# File 'lib/adminterface/extensions/views/components/attributes_table.rb', line 14 def tr( = {}) [:class] = [:class].split.reject { |x| x.eql?("row") }.join(" ") super() end |