def html
      html_options = @html_options.dup
      html_options[:style] = 'display: none;' if table.empty? && hide_when_empty
      
      content_tag(tag_name, content, html_options)
    end
def html
      html_options = @html_options.dup
      html_options[:style] = 'display: none;' if table.empty? && hide_when_empty
      
      content_tag(tag_name, content, html_options)
    end
Creates and returns the generated html for the header