gitlab-org--gitlab-foss/app/helpers/clipboard_helper.rb
2015-10-23 15:59:25 +02:00

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