Adds an helper for displaying the 'checked' image.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3600 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2010-03-17 20:46:22 +00:00
1 parent 388805ad58
commit f741ca7269
7 files changed
+15 -9

No files matched your search

+6
View File
@@ -687,6 +687,12 @@ module ApplicationHelper
content_tag('p', legend, :class => 'pourcent')
end
def checked_image(checked=true)
if checked
image_tag 'toggle_check.png'
end
end
def context_menu(url)
unless @context_menu_included
content_for :header_tags do