X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e731dd71a77ad4ad1e9db22535e89444bb98e5d9..f635b98b8cf58954266fcf7b40bd22d698fd8388:/app/views/users/confirm.html.erb diff --git a/app/views/users/confirm.html.erb b/app/views/users/confirm.html.erb index 3a2e12578..fde545546 100644 --- a/app/views/users/confirm.html.erb +++ b/app/views/users/confirm.html.erb @@ -12,19 +12,19 @@
<%= t ".press confirm button" %>
- <%= form_tag({}, { :id => "confirm" }) do %> - - - "> + <%= bootstrap_form_tag :html => { :id => "confirm" } do |f| %> + <%= f.hidden_field :display_name, :value => params[:display_name] %> + <%= f.hidden_field :confirm_string, :value => params[:confirm_string] %> + <%= f.primary t(".button") %> <% end %> <% else %><%= t ".reconfirm_html", - :reconfirm => url_for(:action => "confirm_resend") %>
+<%= t ".reconfirm_html", + :reconfirm => url_for(:action => "confirm_resend") %>
<% end %>