X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/898c47e647fbffcd0543b78033945b04f1b9aeae..a70898be6dde1e9e9f61f90f8dc9b2c18a6f9287:/app/views/user/confirm.html.erb diff --git a/app/views/user/confirm.html.erb b/app/views/user/confirm.html.erb index 5a4106ee3..f52098289 100644 --- a/app/views/user/confirm.html.erb +++ b/app/views/user/confirm.html.erb @@ -1,10 +1,30 @@ -

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

+<% content_for :heading do %> +

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

+
+<% end %> -

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

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

<%= 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 %>