]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/lost_password.rhtml
User form_tag/end instead of start_form_tag/end_form_tag to avoid
[rails.git] / app / views / user / lost_password.rhtml
index ab60cd8457f0f3a3436c48e0e18fa5cf924d8b4c..003b256b232cab3285ada5726f2cef431f915360 100644 (file)
@@ -1,8 +1,9 @@
 <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">
+<% end %>