]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/lost_password.html.erb
Preserve field values if the signup form fails validation
[rails.git] / app / views / user / lost_password.html.erb
index c5d8bb004540c0b6fa87a8767168fa576e40e44e..db1ee742d251e88046e7dd4878dc041bf5c5b1f9 100644 (file)
@@ -2,12 +2,15 @@
 
 <p><%= t 'user.lost_password.help_text' %></p>
 
-<% form_tag :action => 'lost_password' do %>
+<%= form_tag :action => 'lost_password' do %>
 <table>
   <tr>
     <td class="fieldName"><%= t 'user.lost_password.email address' %></td>
     <td><%= text_field('user', 'email', {:size => 50, :maxlength => 255, :tabindex => 1} ) %></td>
   </tr>
-  <tr><td></td><td align="right"><input type="submit" value="<%= t'user.lost_password.new password button' %>" tabindex="2"></td></tr>
+  <tr>
+    <td></td>
+    <td class="submitButton"><input type="submit" value="<%= t'user.lost_password.new password button' %>" tabindex="2"></td>
+  </tr>
 </table>
 <% end %>