]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/lost_password.html.erb
Rename buttons-joined to buttons
[rails.git] / app / views / user / lost_password.html.erb
index cb844c67c23eed85da8092a647b8a02d506ef634..3a7542294009a1b51a5862f097f118d34849cd82 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><%= 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 %>