sutty/app/views/layouts/_btn_with_tooltip.haml

3 lines
130 B
Text
Raw Normal View History

2018-02-26 19:59:55 +00:00
= link_to text, link, class: "btn btn-#{type || secondary}",
2019-07-08 17:55:19 +00:00
data: { toggle: 'tooltip' }, 'aria-role': 'button', title: tooltip