You are here

login-with.html.twig in Social Auth 8

Same filename and directory in other branches
  1. 8.2 templates/login-with.html.twig
  2. 3.x templates/login-with.html.twig
{% set module = 'social-auth' %}

{{ attach_library('social_auth/auth-icons') }}

{% for social_network in social_networks %}
  <a class="{{ module }} auth-link" href="{{ path(social_network.route) }}">
    <img class="{{ module }} auth-icon" src="{{ base_path }}{{ social_network.img_path }}" alt="">
  </a>
{% endfor %}

File

templates/login-with.html.twig
View source
  1. {% set module = 'social-auth' %}
  2. {{ attach_library('social_auth/auth-icons') }}
  3. {% for social_network in social_networks %}
  4. <a class="{{ module }} auth-link" href="{{ path(social_network.route) }}">
  5. <img class="{{ module }} auth-icon" src="{{ base_path }}{{ social_network.img_path }}" alt="">
  6. </a>
  7. {% endfor %}