debian-mirror-gitlab/app/helpers/clipboard_helper.rb
2015-11-26 14:37:03 +05:30

8 lines
188 B
Ruby

module ClipboardHelper
def clipboard_button
content_tag :button,
icon('clipboard'),
class: 'btn btn-xs btn-clipboard js-clipboard-trigger',
type: :button
end
end