Initial commit
This commit is contained in:
8
app/helpers/tooltip_helper.rb
Normal file
8
app/helpers/tooltip_helper.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
module TooltipHelper
|
||||
def tooltip_template(css_class: nil)
|
||||
tag.div class: "tooltip #{css_class}", role: "tooltip" do
|
||||
concat tag.div(class: "arrow")
|
||||
concat tag.div(class: "tooltip-inner")
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user