]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/new.rhtml
Improve handling of login/logout some more to improve the chances of
[rails.git] / app / views / user / new.rhtml
index 409e30a658de63af6185ae265ed6686b05ea20c2..242c27548dbe70c0e00721fc6d5c630108162953 100644 (file)
@@ -5,7 +5,7 @@ By creating an account, you agree that all work uploaded to openstreetmap.org an
 
 <%= error_messages_for 'user' %>
 
-<%= start_form_tag :action => 'save' %>
+<% form_tag :action => 'save' do %>
 <table>
   <tr><td>email:</td><td><%= text_field('user', 'email',{:size => 50, :maxlength => 255}) %></td></tr>
   <tr><td>login name</td><td><%= text_field('user', 'display_name',{:size => 50, :maxlength => 255}) %></td></tr>
@@ -16,5 +16,4 @@ By creating an account, you agree that all work uploaded to openstreetmap.org an
 <br>
 <input type="submit" value="Signup">
 
-<%= end_form_tag %>
-
+<% end %>