]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/confirm_email.html.erb
Make linkify preserve HTML safety
[rails.git] / app / views / user / confirm_email.html.erb
index fd17ef08a656b49a3e3ace8987b23d8b6cee2e32..7acb85a98003dab2934419838f9dfea2cca6a5db 100644 (file)
@@ -6,10 +6,10 @@ $("content").style.display = "none";
 
 <p><%= t 'user.confirm_email.press confirm button' %></p>
 
-<form id="confirm" method="post">
+<%= form_tag({}, { :id => "confirm" }) do %>
   <input type="hidden" name="confirm_string" value="<%= params[:confirm_string] %>">
   <input type="submit" name="confirm_action" value="<%= t 'user.confirm_email.button' %>">
-</form>
+<% end %>
 
 <script>
 $("confirm").submit();