X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a53c7bf623f7a08706eaf73de44380fbf11b14ad..f70feedc6517b824c4201584d6298fd5790d85ba:/app/views/user/login.html.erb
diff --git a/app/views/user/login.html.erb b/app/views/user/login.html.erb
index 074031796..1cdb8511f 100644
--- a/app/views/user/login.html.erb
+++ b/app/views/user/login.html.erb
@@ -11,11 +11,11 @@
|
- <%= text_field(:user, :email, { :value => "", :size => 28, :maxlength => 255, :tabindex => 1 }) %> |
+ <%= text_field_tag("username", "", { :size => 28, :maxlength => 255, :tabindex => 1 }) %> |
|
- <%= password_field(:user, :password, { :value => "", :size => 28, :maxlength => 255, :tabindex => 2 }) %> |
+ <%= password_field_tag("password", "", { :size => 28, :maxlength => 255, :tabindex => 2 }) %> |
|
@@ -38,11 +38,12 @@
<%=
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" %>
@@ -57,7 +58,7 @@
<%= t 'user.login.openid', :logo => openid_logo %>
|
- <%= text_field(:user, :openid_url, { :size => 28, :maxlength => 255, :tabindex => 3, :class => "openid_url" }) %> |
+ <%= text_field_tag("openid_url", "", { :size => 28, :maxlength => 255, :tabindex => 3, :class => "openid_url" }) %> |
|
@@ -66,7 +67,7 @@
- |
+ |
<%= check_box_tag "remember_me", "yes", false, :tabindex => 5 %> |