]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/lost_password.html.erb
Make sure we show errors correctly when resetting a password
[rails.git] / app / views / user / lost_password.html.erb
index cb844c67c23eed85da8092a647b8a02d506ef634..19147e0b075b9457b79c753c8bb9bf842d516055 100644 (file)
@@ -1,9 +1,13 @@
-<h1><%= t 'user.lost_password.heading' %></h1><br>
+<% 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><%= t 'user.lost_password.email address' %></td><td><%= text_field('user', 'email', {:size => 50, :maxlength => 255} ) %></td></tr>
-</table>
-<br>
-<input type="submit" value="<%= t 'user.lost_password.new password button' %>">
+<%= 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 %>