projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd08fba
)
Don't show the openid field if the URL is the empty string
author
Tom Hughes
<tom@compton.nu>
Mon, 22 Aug 2011 10:00:42 +0000
(11:00 +0100)
committer
Tom Hughes
<tom@compton.nu>
Mon, 22 Aug 2011 10:00:42 +0000
(11:00 +0100)
app/views/user/new.html.erb
patch
|
blob
|
history
diff --git
a/app/views/user/new.html.erb
b/app/views/user/new.html.erb
index 8a1ad0bb0e6302d07d4be6695a539aa89e03fd91..59aa7410e667f488ca8096b9aa76d247ca92bb23 100644
(file)
--- a/
app/views/user/new.html.erb
+++ b/
app/views/user/new.html.erb
@@
-75,7
+75,7
@@
<%=
update_page_tag do |page|
- if params[:openid] or (@user and @user.openid_url)
+ if params[:openid] or (@user and @user.openid_url
and not @user.openid_url.empty?
)
page[:openid_prompt].hide
else
page[:openid_spacer].hide