X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/aca299ecee9edee1f4affdd59a65f6ad34de6067..ad368d189f4842f18e81fd272c677e5d820a2da4:/app/views/user/lost_password.html.erb
diff --git a/app/views/user/lost_password.html.erb b/app/views/user/lost_password.html.erb
index cdee822e4..19147e0b0 100644
--- a/app/views/user/lost_password.html.erb
+++ b/app/views/user/lost_password.html.erb
@@ -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 %>
-<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>
+<%= form_tag :action => 'lost_password' do %>
+ <div class="standard-form">
+ <label class="standard-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 %>