]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/users/confirm_email.html.erb
Merge pull request #2809 from tomhughes/bootstrap
[rails.git] / app / views / users / confirm_email.html.erb
index ecf3e1d3cec62ee568b3ba52084bdc362a53e3e0..49b279c8feccfbc462e8afff1f56d5b1d1b29ba4 100644 (file)
@@ -5,12 +5,12 @@
 <% content_for(:content_class) { "user_confirm" } %>
 
 <% content_for :heading do %>
-  <h1><%= t '.heading' %></h1>
+  <h1><%= t ".heading" %></h1>
 <% end %>
 
-<p><%= t '.press confirm button' %></p>
+<p><%= t ".press confirm button" %></p>
 
-<%= form_tag({}, { :id => "confirm" }) do %>
-  <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 :confirm_string, :value => params[:confirm_string] %>
+  <%= f.primary t(".button") %>
 <% end %>