Module: Omniauth
- Defined in:
- lib/omniauth-dailycred.rb,
lib/omniauth-dailycred/version.rb
Overview
module MyHelper
def dailycred_sign_in_form = {}
if !.email && !.username
['email'] = true
content = "<form action='https://www.dailycred.com/oauth/api/signin.json' method='post'>"
if .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