Class: RubyCms::Admin::BulkActionTable::BulkActionTableBody

Inherits:
RubyCms::Admin::BaseComponent show all
Defined in:
app/components/ruby_cms/admin/bulk_action_table/bulk_action_table_body.rb

Overview

Table body component Simple wrapper for <tbody> content

Instance Method Summary collapse

Methods inherited from RubyCms::Admin::BaseComponent

#build_classes, #conditional_attributes, #controller, #form_authenticity_token, #helpers, #merge_data_attributes, #token_from_controller, #token_from_controller?, #token_from_helpers?

Instance Method Details

#view_templateObject



9
10
11
# File 'app/components/ruby_cms/admin/bulk_action_table/bulk_action_table_body.rb', line 9

def view_template(&)
  tbody(class: "[&_tr:last-child]:border-0 [&_td]:text-sm", &)
end