%= form_for(@task, :url => save_action(@task, :mode => "draft")) do |f| %> <% if @task.errors.any? %> <% @task.errors.full_messages.each do |msg| %>
<%= msg %>