git-svn-id: http://redmine.rubyforge.org/svn/trunk@30 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
6e367354e9
commit
b00769f606
|
@ -123,7 +123,7 @@ module ApplicationHelper
|
|||
end
|
||||
|
||||
def calendar_for(field_id)
|
||||
image_tag("calendar.gif", {:id => "#{field_id}_trigger",:class => "calendar-trigger"}) +
|
||||
image_tag("calendar", {:id => "#{field_id}_trigger",:class => "calendar-trigger"}) +
|
||||
javascript_tag("Calendar.setup({inputField : '#{field_id}', ifFormat : '%Y-%m-%d', button : '#{field_id}_trigger' });")
|
||||
end
|
||||
end
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 196 B |
Loading…
Reference in New Issue