]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/lost_password.html.erb
Remove tables from lost password form
[rails.git] / app / views / user / lost_password.html.erb
index c5d8bb004540c0b6fa87a8767168fa576e40e44e..3a7542294009a1b51a5862f097f118d34849cd82 100644 (file)
@@ -1,13 +1,13 @@
-<h1><%= t 'user.lost_password.heading' %></h1>
+<% content_for :heading do %>
+  <h1><%= t 'user.lost_password.heading' %></h1>
+<% end %>
 
 <p><%= t 'user.lost_password.help_text' %></p>
 
 
 <p><%= t 'user.lost_password.help_text' %></p>
 
-<% 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>
-</table>
+<%= form_tag :action => 'lost_password' do %>
+  <div class="standard-form">
+    <label><%= t 'user.lost_password.email address' %></label>
+    <%= text_field('user', 'email', { :tabindex => 1} ) %>
+    <input type="submit" value="<%= t'user.lost_password.new password button' %>" tabindex="2">
+  </div>
 <% end %>
 <% end %>