<table>
<tr>
<td class="fieldName"><label for="user_email"><%= t 'user.login.email or username' %></label></td>
- <td><%= text_field(:user, :email, { :value => "", :size => 28, :maxlength => 255, :tabindex => 1 }) %></td>
+ <td><%= text_field_tag("username", "", { :size => 28, :maxlength => 255, :tabindex => 1 }) %></td>
</tr>
<tr>
<td class="fieldName"><label for="user_password"><%= t 'user.login.password' %></label></td>
- <td><%= password_field(:user, :password, { :value => "", :size => 28, :maxlength => 255, :tabindex => 2 }) %></td>
+ <td><%= password_field_tag("password", "", { :size => 28, :maxlength => 255, :tabindex => 2 }) %></td>
</tr>
<tr>
<td></td>
<div id="openid_buttons">
<%=
link_to_function(image_tag("openid_large.png", :alt => t("user.login.openid_providers.openid.title")), nil, :title => t("user.login.openid_providers.openid.title")) do |page|
- page[:login_form][:user_openid_url].value = "http://"
+ page[:login_form][:openid_url].value = "http://"
page[:openid_buttons].hide
page[:openid_url].show
page[:openid_url_hint].show
page[:openid_submit].show
+ page[:remember_me_label].removeClassName("nowrap")
end
%>
<%= openid_button "yahoo", "yahoo.com" %>
<td class="fieldName">
<%= t 'user.login.openid', :logo => openid_logo %>
</td>
- <td><%= text_field(:user, :openid_url, { :size => 28, :maxlength => 255, :tabindex => 3, :class => "openid_url" }) %></td>
+ <td><%= text_field_tag("openid_url", "", { :size => 28, :maxlength => 255, :tabindex => 3, :class => "openid_url" }) %></td>
</tr>
<tr id="openid_url_hint">
<td></td>
</td>
</tr>
<tr>
- <td class="fieldName nowrap"><label for="remember_me"><%= t 'user.login.remember' %></label></td>
+ <td class="fieldName nowrap" id="remember_me_label"><label for="remember_me"><%= t 'user.login.remember' %></label></td>
<td width="100%"><%= check_box_tag "remember_me", "yes", false, :tabindex => 5 %></td>
</tr>
</table>