From fd08fbacb2cec4a03e43583c8ea19bdb22166d8c Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 22 Aug 2011 10:59:49 +0100 Subject: [PATCH] Hide and show the openid field on the signup page correctly --- app/views/user/new.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/user/new.html.erb b/app/views/user/new.html.erb index cf9d0a8ce..8a1ad0bb0 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)) { |page| page.hide 'openid_prompt'; page.show 'openid_spacer', 'openid_field', 'openid_note' } %> <%= t 'user.new.openid no password' %> @@ -79,7 +79,7 @@ page[:openid_prompt].hide else page[:openid_spacer].hide - page[:openid_url].hide + page[:openid_field].hide page[:openid_note].hide end end -- 2.39.5