]> git.openstreetmap.org Git - rails.git/blob - app/helpers/user_helper.rb
Fix syntax error
[rails.git] / app / helpers / user_helper.rb
1 module UserHelper
2   def openid_logo
3     image_tag "openid_small.png", :alt => t('user.login.openid_logo_alt'), :class => "openid_logo"
4   end
5
6   def openid_button(name, url)
7     link_to(
8       image_tag("#{name}.png", :alt => t("user.login.openid_providers.#{name}.alt")),
9       "#",
10       :class => "openid_button", "data-url" => url,
11       :title => t("user.login.openid_providers.#{name}.title")
12     )
13   end
14 end