mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-25 11:38:49 +01:00
7 lines
254 B
Text
7 lines
254 B
Text
<%
|
|
context = text_context
|
|
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/text_todo", :collection => todos_in_context -%>
|
|
<% end -%>
|