]> git.openstreetmap.org Git - rails.git/blob - app/views/user/confirm.html.erb
Be more consistent with 'my' vs 'your' for objects that belong to
[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   <% content_for :head do %>
8     <%= javascript_include_tag "user" %>
9   <% end %>
10
11   <% content_for(:content_class) { "user_confirm" } %>  
12
13   <p><%= t 'user.confirm.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 'user.confirm.button' %>">
19   <% end %>
20 <% else %>
21   <h1>
22     <%= t "user.confirm.introduction_1" %>
23     <span class="deemphasize">
24       <%= t "user.confirm.introduction_2" %>
25     </span>
26   </h1>
27
28   <p class='deemphasize'><%= t "user.confirm.reconfirm_html",
29                                :reconfirm => url_for(:action => 'confirm_resend')%></p>
30 <% end %>