]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/lost_password.html.erb
Standardize submit tags
[rails.git] / app / views / user / lost_password.html.erb
index 4d1689ef9f74ea1ea5a8b7bd88ce374ce07bd8ba..cf7f9b7d0396341757df80b6a3f2f5adf3642288 100644 (file)
@@ -5,14 +5,9 @@
 <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} ) %>
+    <%= submit_tag t('user.lost_password.new password button'), :tabindex => 2 %>
+  </div>
 <% end %>