Enabled help text for Clear Control.

pull/6827/head
Markus Kahl 14 years ago
parent 2d38aebbd1
commit 233ff32a79
  1. 3
      lib/widget/controls/clear.rb

@ -1,5 +1,6 @@
class Widget::Controls::Clear < Widget::Base class Widget::Controls::Clear < Widget::Base
def render def render
link_to content_tag(:span, content_tag(:em, l(:"button_clear"), :class => "button-icon icon-clear")), '#', :id => 'query-link-clear', :class => 'button secondary' html = link_to content_tag(:span, content_tag(:em, l(:"button_clear"), :class => "button-icon icon-clear")), '#', :id => 'query-link-clear', :class => 'button secondary'
maybe_with_help html
end end
end end

Loading…
Cancel
Save