mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-18 16:20:12 +01:00
7 lines
230 B
Text
7 lines
230 B
Text
|
|
<%
|
||
|
|
todos_in_context = not_done_todos.select { |t| t.context_id == context.id }
|
||
|
|
if todos_in_context.length > 0
|
||
|
|
-%> <%= context.name.upcase %>:
|
||
|
|
<%= render :partial => "todos/todo", :collection => todos_in_context -%>
|
||
|
|
<% end -%>
|