class Grapple::Components::HtmlRow

Public Instance Methods

render(content, *options) click to toggle source

TODO: should be able to take a block for the content

# File lib/grapple/components/html_row.rb, line 6
def render(content, *options)
        (indent + template.content_tag(:tr, content.html_safe, *options) + "\n").html_safe
end