]> git.openstreetmap.org Git - rails.git/blob - app/views/user/confirm.html.erb
Added report icon + changes to admin UI + changes to report form + few other minor...
[rails.git] / app / views / user / confirm.html.erb
1 <% content_for :heading do %>
2   <h1><%= t 'user.confirm.heading' %></h1>
3   <div class='header-illustration confirm-main'></div>
4 <% end %>
5
6 <% if params[:confirm_string] %>
7   <script>
8   $("#content").hide();
9   </script>
10
11   <p><%= t 'user.confirm.press confirm button' %></p>
12
13   <%= form_tag({}, { :id => "confirm" }) do %>
14     <input type="display_name" name="confirm_string" value="<%= params[:display_name] %>">
15     <input type="hidden" name="confirm_string" value="<%= params[:confirm_string] %>">
16     <input type="submit" name="confirm_action" value="<%= t 'user.confirm.button' %>">
17   <% end %>
18
19   <script>
20   $("#confirm").submit();
21   </script>
22 <% else %>
23   <h1>
24     <%= t "user.confirm.introduction_1" %>
25     <span class="deemphasize">
26       <%= t "user.confirm.introduction_2" %>
27     </span>
28   </h1>
29
30   <p class='deemphasize'><%= t "user.confirm.reconfirm_html",
31                                :reconfirm => url_for(:action => 'confirm_resend')%></p>
32 <% end %>