Legend
Parameters
Text (optional)
HMTL attributes (optional)
Examples
Example 1: Yield a given block
legend id: "foo", class: "bar" do
plain 'Hello World'
end<legend id="foo" class="bar">
Hello World
</legend>Example 2: Render options[:text] param
Last updated
Was this helpful?