Registry / web-framework / smart-buttons

smart-buttons

JSON →
library1.0.2rbrubygemsunverified

Replaces Rails' `link_to` method with static HTML generation for buttons.

gem install smart_buttons
INSTALL
IMPORT
SIG · SMART-BUTTONS
S
smart-buttons
web-frameworkrubyv1.0.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SmartButtons
require 'smart_buttons'

Generate a static HTML button link

require 'smart_buttons' SmartButtons.link_to('Click me', '/path', class: 'btn')
Debug
Known issues
gotchaOverrides Rails' built-in `link_to` helper; may conflict with other gems that modify it.
fix
Use SmartButtons.link_to explicitly or avoid mixing with other link_to overrides.
affects: >= 1.0.0
Upgrade
Version history
1.0.2latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
smart-buttons — gem install smart-buttons · libregistry