<% form_tag :action => url(:sessions) do -%>
Login

<%= text_field :name => :username, :label => 'Username: ', :id => 'username' -%>

<%= password_field :name => :password, :label => 'Password: ' -%>

<%= submit_button 'Login' -%>

<% end -%>