debian-mirror-gitlab/app/helpers/clipboard_helper.rb

9 lines
188 B
Ruby
Raw Normal View History

2015-11-26 14:37:03 +05:30
module ClipboardHelper
def clipboard_button
content_tag :button,
icon('clipboard'),
class: 'btn btn-xs btn-clipboard js-clipboard-trigger',
type: :button
end
end