<% form_tag :controller => 'account', :action => 'login' do %>
<p><label for="login">Login</label></p>
- <p><%= text_field "Login", "login", :size => 30 %></p>
+ <p><%= text_field_tag 'login' %></p>
<p><label for="password">Password</label></p>
- <p><%= password_field "Password", "password", :size => 30 %></p>
+ <p><%= password_field_tag 'password' %></p>
- <p><%= submit_tag 'Login' %></p>
+ <p><%= submit_tag 'Log in' %></p>
<% end %>
<p><%= link_to 'Register for an account', :controller => 'account', :action => 'signup' %></p>