]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/lost_password.rhtml
Only treat a user as logged in if the user object has an id value - this
[rails.git] / app / views / user / lost_password.rhtml
index ab60cd8457f0f3a3436c48e0e18fa5cf924d8b4c..003b256b232cab3285ada5726f2cef431f915360 100644 (file)
@@ -1,8 +1,9 @@
 <h1>Forgotten Password?</h1><br>
 
 <h1>Forgotten Password?</h1><br>
 
-<%= start_form_tag :action => 'lost_password' %>
+<% form_tag :action => 'lost_password' do %>
 <table>
   <tr><td>email address:</td><td><%= text_field('user', 'email', {:size => 50, :maxlength => 255} ) %></td></tr>
 </table>
 <br>
 <input type="submit" value="Send me a new password">
 <table>
   <tr><td>email address:</td><td><%= text_field('user', 'email', {:size => 50, :maxlength => 255} ) %></td></tr>
 </table>
 <br>
 <input type="submit" value="Send me a new password">
+<% end %>