]> git.openstreetmap.org Git - rails.git/blob - app/views/user/confirm.html.erb
Rename i18n keys track->trace
[rails.git] / app / views / user / confirm.html.erb
1 <% content_for :heading do %>
2   <h1><%= t '.heading' %></h1>
3   <div class='header-illustration confirm-main'></div>
4 <% end %>
5
6 <% if params[:confirm_string] %>
7   <% content_for :head do %>
8     <%= javascript_include_tag "user" %>
9   <% end %>
10
11   <% content_for(:content_class) { "user_confirm" } %>
12
13   <p><%= t '.press confirm button' %></p>
14
15   <%= form_tag({}, { :id => "confirm" }) do %>
16     <input type="display_name" name="confirm_string" value="<%= params[:display_name] %>">
17     <input type="hidden" name="confirm_string" value="<%= params[:confirm_string] %>">
18     <input type="submit" name="confirm_action" value="<%= t '.button' %>">
19   <% end %>
20 <% else %>
21   <h1>
22     <%= t ".introduction_1" %>
23     <span class="deemphasize">
24       <%= t ".introduction_2" %>
25     </span>
26   </h1>
27
28   <p class='deemphasize'><%= t ".reconfirm_html",
29                                :reconfirm => url_for(:action => 'confirm_resend')%></p>
30 <% end %>