]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/users/lost_password.html.erb
Convert password reset forms to use bootstrap
[rails.git] / app / views / users / lost_password.html.erb
index 6f50526d9119b8825965b24c43d96c63e23daed0..dfcaf32bef6aaf4aee5d476dc24001da1e08b534 100644 (file)
@@ -1,13 +1,10 @@
 <% content_for :heading do %>
-  <h1><%= t '.heading' %></h1>
+  <h1><%= t ".heading" %></h1>
 <% end %>
 
-<p><%= t '.help_text' %></p>
+<p><%= t ".help_text" %></p>
 
-<%= form_tag :action => 'lost_password' do %>
-  <div class="standard-form">
-    <label class="standard-label"><%= t '.email address' %></label>
-    <%= text_field('user', 'email', { :tabindex => 1} ) %>
-    <%= submit_tag t('.new password button'), :tabindex => 2 %>
-  </div>
+<%= bootstrap_form_tag do |f| %>
+  <%= f.text_field :email, :label => t(".email address") %>
+  <%= f.primary t(".new password button") %>
 <% end %>