<%= form_for(:sign_out, :html => {:id => "sign_out_form"}) do |f| %> <%= f.submit "Sign out" %> <% end %>