X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2bc44dfddc214efcec9dd2e920fac14a7c2dcec0..3276063fcfba982b7bbb886f5ef18d7ae67c46f5:/app/views/user/confirm.html.erb?ds=sidebyside diff --git a/app/views/user/confirm.html.erb b/app/views/user/confirm.html.erb index 551719f55..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 %>