1 2 3 4 5 6 7 8
module ClipboardHelper def clipboard_button content_tag :button, icon('clipboard'), class: 'btn btn-xs btn-clipboard js-clipboard-trigger', type: :button end end