<% @not_done = @not_done_todos.select {|t| t.context_id == context.id } %>
>

<% if collapsible -%> <%= image_tag("collapse.png") %> <% end -%> <% if source_view_is :context %> <%= context.name %> <% else %> <%= link_to_context( context ) %> <% end %>

<%= t 'contexts.no_actions' %>

<%= render :partial => "todos/todo", :collection => @not_done, :locals => { :parent_container_type => "context" } %>