]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/confirm_email.html.erb
Use 'close-box' appearance (less confusing) for exit-from-directions
[rails.git] / app / views / user / confirm_email.html.erb
index 7acb85a98003dab2934419838f9dfea2cca6a5db..1170631caf38cb238dd23859c3df31c65766e269 100644 (file)
@@ -1,8 +1,10 @@
 <script>
-$("content").style.display = "none";
+$("#content").hide();
 </script>
 
-<h1><%= t 'user.confirm_email.heading' %></h1>
+<% content_for :heading do %>
+  <h1><%= t 'user.confirm_email.heading' %></h1>
+<% end %>
 
 <p><%= t 'user.confirm_email.press confirm button' %></p>
 
@@ -12,5 +14,5 @@ $("content").style.display = "none";
 <% end %>
 
 <script>
-$("confirm").submit();
+$("#confirm").submit();
 </script>