Class: Grapple::Components::HtmlRow
- Inherits:
-
HtmlComponent
- Object
- BaseComponent
- HtmlComponent
- Grapple::Components::HtmlRow
- Defined in:
- lib/grapple/components/html_row.rb
Instance Attribute Summary
Attributes inherited from BaseComponent
#builder, #columns, #params, #records, #template
Instance Method Summary collapse
Methods inherited from BaseComponent
Constructor Details
This class inherits a constructor from Grapple::Components::BaseComponent
Instance Method Details
#render(content, *options) ⇒ Object
5 6 7 |
# File 'lib/grapple/components/html_row.rb', line 5 def render(content, *) (indent + template.content_tag(:tr, content.html_safe, *) + "\n").html_safe end |