X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/efd50cd529990069dc1ca95f66ec6f61471fe29d..6f2e3e9508b6a51062f547e3630cf1c7ad2639c1:/app/views/users/confirm.html.erb?ds=sidebyside diff --git a/app/views/users/confirm.html.erb b/app/views/users/confirm.html.erb index 7b8d78d3f..fde545546 100644 --- a/app/views/users/confirm.html.erb +++ b/app/views/users/confirm.html.erb @@ -1,5 +1,5 @@ <% content_for :heading do %> -

<%= t '.heading' %>

+

<%= t ".heading" %>

<% end %> @@ -10,21 +10,21 @@ <% content_for(:content_class) { "user_confirm" } %> -

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

+

<%= 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 ".introduction_1" %> - + <%= t ".introduction_2" %>

-

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

+

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

<% end %>