X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/72e33046c80bddc0ca9b1336786dcb4b349137f7..0030c7753740820fab12455dd841cd39c58b6475:/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 cf9d0a8ce..730676355 100644 --- a/app/views/user/new.html.erb +++ b/app/views/user/new.html.erb @@ -41,7 +41,7 @@   - + <%= t 'user.new.openid', :logo => openid_logo %> <%= 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' %> @@ -73,18 +73,34 @@ <% 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 %>