Much prettier defer buttons and sane CSS that doesn't have issues with note divs.

This commit is contained in:
Eric Allen 2008-09-07 06:55:17 -07:00
parent 1324652726
commit ab28b22cbf
7 changed files with 4 additions and 4 deletions

View file

@ -281,7 +281,7 @@ module TodosHelper
end
def defer_link(days)
link_to_remote "+#{days}", :url => {:controller => 'todos', :action => 'defer', :id => @todo.id, :days => days, :_source_view => @source_view.underscore.gsub(/\s+/,'_')}
link_to_remote image_tag("defer_#{days}.png"), :url => {:controller => 'todos', :action => 'defer', :id => @todo.id, :days => days, :_source_view => (@source_view.underscore.gsub(/\s+/,'_') rescue "")}
end
end