]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/users/lost_password.html.erb
Prefer string interpolation to concatenation
[rails.git] / app / views / users / lost_password.html.erb
index 3cfd8cc83f88dcbf929c17fcbf90ba1656453541..dfcaf32bef6aaf4aee5d476dc24001da1e08b534 100644 (file)
@@ -4,10 +4,7 @@
 
 <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 %>