You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
377 B

module Users::AuthenticationsHelper
def authentication_provider_column(record, column)
case record.provider
when 'google_oauth2'
ret = <<-DOC
<span class="btn btn-block btn-social btn-google-plus">
<i class="fa fa-google-plus"></i> Google
</span>
DOC
ret.html_safe
else
record.provider.camelcase
end
end
end