]> git.openstreetmap.org Git - rails.git/blob - app/views/confirmations/confirm.html.erb
Merge remote-tracking branch 'upstream/pull/3251'
[rails.git] / app / views / confirmations / 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   <%= bootstrap_form_tag :html => { :id => "confirm" } do |f| %>
16     <%= f.hidden_field :display_name, :value => params[:display_name] %>
17     <%= f.hidden_field :confirm_string, :value => params[:confirm_string] %>
18     <%= f.primary t(".button") %>
19   <% end %>
20 <% else %>
21   <h1>
22     <%= t ".introduction_1" %>
23     <span class="text-muted">
24       <%= t ".introduction_2" %>
25     </span>
26   </h1>
27
28   <p class='text-muted'><%= t ".reconfirm_html",
29                               :reconfirm => url_for(:action => "confirm_resend") %></p>
30 <% end %>