mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-10 14:42:35 +01:00
make text feed a little neater
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
This commit is contained in:
parent
47139b5740
commit
f415886190
1 changed files with 1 additions and 2 deletions
|
|
@ -2,7 +2,6 @@
|
||||||
context = text_context
|
context = text_context
|
||||||
todos_in_context = todos.select { |t| t.context_id == context.id }
|
todos_in_context = todos.select { |t| t.context_id == context.id }
|
||||||
if todos_in_context.length > 0
|
if todos_in_context.length > 0
|
||||||
-%>
|
-%> <%= context.name.upcase %>:
|
||||||
<%= context.name.upcase %>:
|
|
||||||
<%= render :partial => "todos/text_todo", :collection => todos_in_context -%>
|
<%= render :partial => "todos/text_todo", :collection => todos_in_context -%>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue