]> 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 167801cbbb84519fce0077d4df54203e11a88109..fde54554662b797b12b49863ddc69a189539f92d 100644 (file)
@@ -1,5 +1,5 @@
 <% content_for :heading do %>
-  <h1><%= t '.heading' %></h1>
+  <h1><%= t ".heading" %></h1>
   <div class='header-illustration confirm-main'></div>
 <% end %>
 
 
   <% content_for(:content_class) { "user_confirm" } %>
 
-  <p><%= t '.press confirm button' %></p>
+  <p><%= t ".press confirm button" %></p>
 
-  <%= form_tag({}, { :id => "confirm" }) 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>
     <%= t ".introduction_1" %>
-    <span class="deemphasize">
+    <span class="text-muted">
       <%= t ".introduction_2" %>
     </span>
   </h1>
 
-  <p class='deemphasize'><%= t ".reconfirm_html",
-                               :reconfirm => url_for(:action => 'confirm_resend') %></p>
+  <p class='text-muted'><%= t ".reconfirm_html",
+                              :reconfirm => url_for(:action => "confirm_resend") %></p>
 <% end %>