]> git.openstreetmap.org Git - rails.git/blob - app/views/user/confirm.html.erb
Rework notes interface using OpenLayers and rails
[rails.git] / app / views / user / confirm.html.erb
1 <script>
2 $("content").style.display = "none";
3 </script>
4
5 <h1><%= t 'user.confirm.heading' %></h1>
6
7 <p><%= t 'user.confirm.press confirm button' %></p>
8
9 <form id="confirm" method="post">
10   <input type="display_name" name="confirm_string" value="<%= params[:display_name] %>">
11   <input type="hidden" name="confirm_string" value="<%= params[:confirm_string] %>">
12   <input type="submit" name="confirm_action" value="<%= t 'user.confirm.button' %>">
13 </form>
14
15 <script>
16 $("confirm").submit();
17 </script>