X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/652dbf5044d3f7fdb5f7af1b7e8393c2a79246c6..c24967d1685024079e29c84fa307c355625e92d0:/app/views/user/new.html.erb
diff --git a/app/views/user/new.html.erb b/app/views/user/new.html.erb
index 4e3f4428d..f9d77a22b 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" }) %> |
|
@@ -59,7 +59,7 @@
|
- <%= link_to_function(t('user.new.use openid', :logo => openid_logo)) { |page| page.hide 'openid_prompt'; page.show 'openid_spacer', 'openid_url', 'openid_note' } %>
+ <%= link_to_function(t('user.new.use openid', :logo => openid_logo), "enableOpenID()") %>
<%= t 'user.new.openid no password' %>
|
@@ -68,22 +68,40 @@
|
- <%= 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] or (@user and @user.openid_url)
- page[:openid_prompt].hide
- else
- page[:openid_spacer].hide
- page[:openid_url].hide
- page[:openid_note].hide
- end
- end
-%>
+
<%= javascript_include_tag 'https://ethnio.com/remotes/62786' %>