Add autocomplete=off to the todo_description text input field so you don't get the annoying drop-down of old data.

Signed-off-by: Reinier Balt <lrbalt@gmail.com>
This commit is contained in:
Evan McLean 2009-03-03 15:30:24 +08:00 committed by Reinier Balt
parent 602929a35f
commit 5b7e62e43f

View file

@ -43,7 +43,7 @@
<div id="status"><%= error_messages_for("item", :object_name => 'action') %></div>
<label for="todo_description">Description</label>
<%= text_field( "todo", "description", "size" => 30, "tabindex" => 1, "maxlength" => 100) %>
<%= text_field( "todo", "description", "size" => 30, "tabindex" => 1, "maxlength" => 100, "autocomplete" => "off") %>
<label for="todo_notes">Notes</label>
<%= text_area( "todo", "notes", "cols" => 29, "rows" => 6, "tabindex" => 2) %>