X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/52e5fa6ad78f375cec5a207a123a4aa3939c8ddf..c40ad9de0296b28140f13a01a055108b23cb2e7d:/app/views/user/confirm.html.erb diff --git a/app/views/user/confirm.html.erb b/app/views/user/confirm.html.erb index f48cd8867..f52098289 100644 --- a/app/views/user/confirm.html.erb +++ b/app/views/user/confirm.html.erb @@ -1,17 +1,30 @@ - +<% content_for :heading do %> +

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

+
+<% end %> -

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

+<% if params[:confirm_string] %> + <% content_for :head do %> + <%= javascript_include_tag "user" %> + <% end %> -

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

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

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

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

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

+ +

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

+<% end %>