Sha256: 7b4662cd2e6ac3201aa70a382ce9c77d814f066a9735cf93d02f353beefaa43e
Contents?: true
Size: 431 Bytes
Versions: 14
Compression:
Stored size: 431 Bytes
Contents
module AuthlogicOauth module Helper def oauth_register_button(options = {}) oauth_button('register_with_oauth', options) end def oauth_login_button(options = {}) oauth_button('login_with_oauth', options) end private def oauth_button(name, options = {}) "<input type='submit' value='#{options[:value]}' name='#{name}' id='user_submit' class='#{options[:class]}'/>" end end end
Version data entries
14 entries across 14 versions & 4 rubygems