mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-27 20:38:48 +01:00
the span with class m_t and m_t_d and its styling are no longer needed mobile todo lists need to be wrapped in ul element. fixing up missing or unclosed
14 lines
398 B
Text
14 lines
398 B
Text
<%
|
|
# select actions from this context
|
|
@not_done = @not_done_todos.select {|t| t.context_id == @context.id }
|
|
|
|
if not @not_done.empty?
|
|
# only show a context when there are actions in it
|
|
%>
|
|
<h2><%=@context.name%></h2>
|
|
<ul class="c">
|
|
<%= render :partial => "todos/mobile_todo",
|
|
:collection => @not_done,
|
|
:locals => { :parent_container_type => "context" }-%>
|
|
</ul>
|
|
<% end -%>
|