def openid_button(name, url)
link_to(
image_tag("#{name}.png", :alt => t("user.login.openid_providers.#{name}.alt")),
- "#",
- :class => "openid_button", :data => { :url => url },
+ auth_path(:provider => "openid", :openid_url => url),
+ :class => "openid_button",
:title => t("user.login.openid_providers.#{name}.title")
)
end