Corrected variable reference for context feed generation

This commit is contained in:
Marcus ilgner 2010-10-30 06:19:52 +08:00 committed by Reinier Balt
parent 65caba5028
commit 13d24b6508
2 changed files with 2 additions and 1 deletions

View file

@ -11,5 +11,6 @@ if not @not_done.empty?
<%= render :partial => "todos/mobile_todo",
:collection => @not_done,
:locals => { :parent_container_type => "context" }-%>
</table>
</ul>
<% end -%>

View file

@ -70,7 +70,7 @@
<ul>
<li>Step 1 - Choose the context you want a feed of:
<select name="feed-contexts" id="feed-contexts">
<%= options_from_collection_for_select(@active_contexts, "id", "name", @active_contexts.first.id) unless @active_projects.empty?-%>
<%= options_from_collection_for_select(@active_contexts, "id", "name", @active_contexts.first.id) unless @active_contexts.empty?-%>
<%= options_from_collection_for_select(@hidden_contexts, "id", "name") -%>
</select>
</li>