2 def openid_button(name, url)
4 image_tag("#{name}.png", :alt => t("user.login.openid_providers.#{name}.alt")),
6 :title => t("user.login.openid_providers.#{name}.title")
8 page[:login_form][:user_openid_url][:value] = url
9 page[:login_form].submit()