<% form_tag session_path do -%>


<%= text_field_tag 'login' %>


<%= password_field_tag 'password' %>

<%= submit_tag 'Log in' %>

<% end -%> switch to open-id login
<% form_tag session_path do -%>


<%= text_field_tag 'openid_url' %>

<%= submit_tag 'Log in' %>

<% end -%> switch to username/password login
<%= javascript_include_tag('session') %>