diff options
Diffstat (limited to 'app/helpers/button_helper.rb')
-rw-r--r-- | app/helpers/button_helper.rb | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/app/helpers/button_helper.rb b/app/helpers/button_helper.rb index 07a3f452460..f742922d926 100644 --- a/app/helpers/button_helper.rb +++ b/app/helpers/button_helper.rb @@ -17,15 +17,7 @@ module ButtonHelper def clipboard_button(data = {}) content_tag :button, icon('clipboard'), - class: "btn", - data: data, - type: :button - end - - def clipboard_button_with_class(data = {}, css_class: 'btn-clipboard') - content_tag :button, - icon('clipboard'), - class: "btn #{css_class}", + class: 'btn btn-clipboard', data: data, type: :button end |