-<form method="post">
-<input type="hidden" name="confirm_string" value="<%= params[:confirm_string] %>">
-<input type="submit" name="confirm_action" value="<%= t 'user.confirm.button' %>">
-</form>
-
+<%= form_tag({}, { :id => "confirm" }) do %>
+ <input type="display_name" name="confirm_string" value="<%= params[:display_name] %>">
+ <input type="hidden" name="confirm_string" value="<%= params[:confirm_string] %>">
+ <input type="submit" name="confirm_action" value="<%= t 'user.confirm.button' %>">
+<% end %>