<%- todo = new_todo_form -%>
<% form_for(todo, :html=> { :id=>'todo-form-new-action', :name=>'todo', :class => 'inline-form new_todo_form' }) do |t|%>
<%= error_messages_for("item", :object_name => 'action') %>
<%= t.text_field("description", "size" => 30, "tabindex" => next_tab_index, "maxlength" => 100, "autocomplete" => "off", :autofocus => 1) %> <%= t.text_area("notes", "cols" => 29, "rows" => 6, "tabindex" => next_tab_index) %> <%= text_field_tag "tag_list", @default_tags, :size => 30, :tabindex => next_tab_index %> <%= content_tag("div", "", :id => "tag_list_auto_complete", :class => "auto_complete") %>
<%= t.text_field("due", "size" => 12, "class" => "Date", "tabindex" => next_tab_index, "autocomplete" => "off") %>
<%= t.text_field("show_from", "size" => 12, "class" => "Date", "tabindex" => next_tab_index, "autocomplete" => "off") %>
<%= text_field_tag "predecessor_input", nil, :size => 30, :tabindex => next_tab_index %> <%= hidden_field_tag "predecessor_list", ""%>
<%= source_view_tag( @source_view ) %> <%= hidden_field_tag :_tag_name, @tag_name.underscore.gsub(/\s+/,'_') if source_view_is :tag %>
<% end # form_for -%>