% @tag_list_text = "" @tag_list_text = tag_list_text if @todo -%> <%= error_messages_for("todo") %> <% this_year = user_time.to_date.strftime("%Y").to_i if parent_container_type == 'show_mobile' -%>
<%= check_box_tag("done", 1, @todo && @todo.completed?, "tabindex" => 1) %>
<% end -%> <%= text_field( "todo", "description", "tabindex" => 2) %> <%= text_area( "todo", "notes", "cols" => 30, "rows" => 5, "tabindex" => 3) %> <%= collection_select( "todo", "context_id", @contexts, "id", "name", {"tabindex" => 4} ) %> <%= collection_select( "todo", "project_id", @projects, "id", "name", {:include_blank => true}, {"tabindex" => 5} ) %> <%= text_field_tag "tag_list", @tag_list_text, :size => 30, :tabindex => 6 %> <%= date_select("todo", "due", :order => [:day, :month, :year], :start_year => this_year, :include_blank => true) %> <%= date_select("todo", "show_from", :order => [:day, :month, :year], :start_year => this_year, :include_blank => true) %>