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