Module: Omniauth
- Defined in:
- lib/omniauth-dailycred.rb,
lib/omniauth-dailycred/version.rb
Overview
module MyHelper
def dailycred_sign_in_form options = {}
if !options.email && !options.username
options['email'] = true
content = "<form action='https://www.dailycred.com/oauth/api/signin.json' method='post'>"
if options.email
content += "<input name='login' type='text'>"
content += "<input name='pass' type='password'>"
content += "<input type='submit' value='Sign in'>"
end
end
Defined Under Namespace
Modules: Dailycred