class Grapple::Components::Toolbar

Public Instance Methods

render(*options, &block) click to toggle source
# File lib/grapple/components/toolbar.rb, line 7
def render(*options, &block)
        options = options[0] || {}
        html = block_or_components(components, options, &block)
        builder.row "<th colspan=\"#{num_columns}\">#{html}</th>", :class => 'toolbar'
end