make text feed a little neater

Signed-off-by: Reinier Balt <lrbalt@gmail.com>
This commit is contained in:
chris erway 2009-03-12 14:13:05 +08:00 committed by Reinier Balt
parent 47139b5740
commit f415886190

View file

@ -2,7 +2,6 @@
context = text_context
todos_in_context = todos.select { |t| t.context_id == context.id }
if todos_in_context.length > 0
-%>
<%= context.name.upcase %>:
-%> <%= context.name.upcase %>:
<%= render :partial => "todos/text_todo", :collection => todos_in_context -%>
<% end -%>