fix #1096 where the title of project was incorrectly set to context in mobile edit form

This commit is contained in:
Reinier Balt 2011-02-08 09:24:56 +01:00
parent 33d73eef62
commit 56d8d04337

View file

@ -19,7 +19,7 @@ else
@contexts, "id", "name", @mobile_from_context.id),
{"id" => :todo_context_id, :tabindex => 4} )
end %>
<h2><label for="todo_project_id"><%= t('common.context') %></label></h2>
<h2><label for="todo_project_id"><%= t('common.project') %></label></h2>
<%= unless @mobile_from_project
collection_select( "todo", "project_id", @projects, "id", "name",
{:include_blank => t('todos.no_project')}, {"tabindex" => 5} )