Skip to content

Buttons helpers #11

Open
wants to merge 2 commits into from

1 participant

@juanpastas

btn 'A text', a_path_helper, class: 'my-class', ...
btn_primary 'A text', a_path_helper, class: 'my-class', ...
btn_danger 'A text', a_path_helper, class: 'my-class', ...
... is intended for additional options

juan david p... added some commits Jul 11, 2012
juan david pastas Added buttons helpers, usage:
btn 'A text', a_path_helper, class: 'my-class', ...
btn_primary 'A text', a_path_helper, class: 'my-class', ...
btn_danger 'A text', a_path_helper, class: 'my-class', ...
... is intended for additional options
de4beec
juan david pastas fixed when options[:class] is nil 1eb0e5b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.