X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/64f373dc598e9c672e1575622f2fc76c29655b8d..81a6c7b7bebb06c2e9711451e6795f65b34d59ca:/app/views/user/new.html.erb
diff --git a/app/views/user/new.html.erb b/app/views/user/new.html.erb
index 83a4d39e4..cf9d0a8ce 100644
--- a/app/views/user/new.html.erb
+++ b/app/views/user/new.html.erb
@@ -41,9 +41,9 @@
|
-
+
<%= t 'user.new.openid', :logo => openid_logo %> |
- <%= text_field(:user, :openid_url, { :size => 50, :maxlength => 255, :tabindex => 4, :value => params[:openid], :class => "openid_url" }) %> |
+ <%= text_field(:user, :openid_url, { :id => "openid_url", :size => 50, :maxlength => 255, :tabindex => 4, :value => params[:openid], :class => "openid_url" }) %> |
|
@@ -68,14 +68,14 @@
|
- <%= submit_tag t('user.new.continue'), :tabindex => 6 %> |
+ <%= submit_tag t('user.new.continue'), :tabindex => 6 %> |
<% end %>
<%=
update_page_tag do |page|
- if params[:openid]
+ if params[:openid] or (@user and @user.openid_url)
page[:openid_prompt].hide
else
page[:openid_spacer].hide