ADmad/cakephp-social-auth

Add Image instead of String

manali-plutus opened this issue · 1 comments

Hello,

I need to use image of the google login instead of __('Google+')

echo $this->Form->postLink(__('Google+'), [ 'prefix' => false, 'plugin' => 'ADmad/SocialAuth', 'controller' => 'Auth', 'action' => 'login', 'provider' => 'google', '?' => ['redirect' => $this->request->getQuery('redirect')] ], ['class' => 'btn btn-danger google btn-lg btn-block omb_btn-google button-Width'] );

Thanks In Advance

ADmad commented

Then pass an image for the $title attribute and use option 'escapeTitle' => false.