lib/generators/dry_crud/templates/app/helpers/standard_table_builder.rb
# Renders the table as HTML.
Renders the table as HTML.
Renders the table as HTML .
def to_html
    add_css_class options, 'table'
    content_tag :table, options do
      content_tag(:thead, html_header) +
      content_tag_nested(:tbody, entries) { |e| html_row(e) }
    end
  end
def to_html add_css_class options , 'table' content_tag :table , options do content_tag ( :thead , html_header ) + content_tag_nested ( :tbody , entries ) { | e | html_row ( e ) } end end
Renders the table as HTML.
Renders the table as HTML .