X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/11aff90f63d79406e9efa1343c965a19dcf5dbba..69d02c624fe077cff0c39c3c8c658d8407eac278:/app/views/user/new.html.erb?ds=sidebyside
diff --git a/app/views/user/new.html.erb b/app/views/user/new.html.erb
index 4e3f4428d..730676355 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,23 +68,39 @@
|
- <%= 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' %>
+
<% end %>