]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/users/confirm.html.erb
Merge pull request #2809 from tomhughes/bootstrap
[rails.git] / app / views / users / confirm.html.erb
index 4ea5ac5c58d67c9d12340bdf2e21f13c9ca769dc..fde54554662b797b12b49863ddc69a189539f92d 100644 (file)
 
   <p><%= t ".press confirm button" %></p>
 
-  <%= form_tag({}, { :id => "confirm", :class => "standard-form" }) do %>
-    <input type="display_name" name="confirm_string" value="<%= params[:display_name] %>">
-    <input type="hidden" name="confirm_string" value="<%= params[:confirm_string] %>">
-    <input type="submit" name="confirm_action" value="<%= t ".button" %>">
+  <%= 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 %>
   <h1>