]> 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 db1ee742d251e88046e7dd4878dc041bf5c5b1f9..3a7542294009a1b51a5862f097f118d34849cd82 100644 (file)
@@ -1,16 +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>
 
 <%= form_tag :action => 'lost_password' do %>
 
 <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 class="submitButton"><input type="submit" value="<%= t'user.lost_password.new password button' %>" tabindex="2"></td>
-  </tr>
-</table>
+  <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 %>