X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2662e6fec2d3ed45872cf6bf6a85f91d7eb79351..ada8b184ea9820b6bfa8926e97e809d4a9a5c44d:/app/helpers/user_helper.rb diff --git a/app/helpers/user_helper.rb b/app/helpers/user_helper.rb index 89e744548..acaecff48 100644 --- a/app/helpers/user_helper.rb +++ b/app/helpers/user_helper.rb @@ -7,7 +7,7 @@ module UserHelper link_to( image_tag("#{name}.png", :alt => t("user.login.openid_providers.#{name}.alt")), "#", - :class => "openid_button", "data-url" => url, + :class => "openid_button", :data => { :url => url }, :title => t("user.login.openid_providers.#{name}.title") ) end