Button
Parameters
Disabled (optional)
Text (optional)
HMTL attributes (optional)
Examples
Example 1: Render options[:text] param
button text: 'Click me'Example 2: Yield a given block
Example 3: Using the options[:disabled] configuration
Last updated
Was this helpful?