Label
Last updated
Was this helpful?
Last updated
Was this helpful?
The HTML <label>
tag, implemented in Ruby.
This component can take various optional configuration params and either yield content or display what gets passed to the text
configuration param.
Expects a string that binds the label to a given form element (matches id
of form element).
Expects a string that specifies which form or forms the label belongs to.
Expects a string which will be displayed as the content inside the <label>
tag.
This component accepts all the canonical like id
or class
.
returns
options[:text]
paramreturns