]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/login.rhtml
change mime type and reformat search controller
[rails.git] / app / views / user / login.rhtml
index 09ace0f516a66801fad7fdeaa2e94ca098659e0a..bde0614d545f4713b316e62c1cba6cf462c00c1c 100644 (file)
@@ -1,7 +1,7 @@
 <h1>Login:</h1><br>
 Please login or <%= link_to 'create an account', :controller => 'user', :action => 'new' %>.<br>
 
-<%= start_form_tag :action => 'login' %>
+<% form_tag :action => 'login' do %>
 <table>
   <tr><td>email address:</td><td><%= text_field('user', 'email',{:size => 50, :maxlength => 255}) %></td></tr>
   <tr><td>password:</td><td><%= password_field('user', 'password',{:size => 50, :maxlength => 255}) %></td></tr>
@@ -9,5 +9,4 @@ Please login or <%= link_to 'create an account', :controller => 'user', :action
 
 <br>
 <%= submit_tag 'Login' %>
-
-<%= end_form_tag %> (<%= link_to 'Lost your password?', :controller => 'user', :action => 'lost_password' %>)
+<% end %> (<%= link_to 'Lost your password?', :controller => 'user', :action => 'lost_password' %>)