X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/3d7eb387a7c3573f1a1d17df00adcaa1fb9b9fa5..5bed2178231b783176551d21734d23b7a32f0d16:/app/views/user/confirm.html.erb diff --git a/app/views/user/confirm.html.erb b/app/views/user/confirm.html.erb index 3b68ddd5b..7b8d78d3f 100644 --- a/app/views/user/confirm.html.erb +++ b/app/views/user/confirm.html.erb @@ -1,19 +1,30 @@ - - <% content_for :heading do %> -

<%= t 'user.confirm.heading' %>

+

<%= t '.heading' %>

+
<% end %> -

<%= t 'user.confirm.press confirm button' %>

+<% if params[:confirm_string] %> + <% content_for :head do %> + <%= javascript_include_tag "user" %> + <% end %> -<%= form_tag({}, { :id => "confirm" }) do %> - - - -<% end %> + <% content_for(:content_class) { "user_confirm" } %> + +

<%= t '.press confirm button' %>

- + <%= form_tag({}, { :id => "confirm" }) do %> + + + + <% end %> +<% else %> +

+ <%= t ".introduction_1" %> + + <%= t ".introduction_2" %> + +

+ +

<%= t ".reconfirm_html", + :reconfirm => url_for(:action => 'confirm_resend')%>

+<% end %>