Option
Parameters
id (optional)
class (optional)
disabled (optional)
label (optional)
text (optional)
selected (optional)
value (optional)
Example 1: Render options[:text] param
options[:text] paramExample 2: Render options[:label] param
options[:label] paramExample 3: Render with more attributes
Example 4: Yield a given block
Last updated
Was this helpful?