allauth/templates/socialaccount/snippets/login.html
raw| 1 | {% load i18n %} |
| 2 | {% load allauth %} |
| 3 | {% load socialaccount %} |
| 4 | {% get_providers as socialaccount_providers %} |
| 5 | {% if socialaccount_providers %} |
| 6 | {% if not SOCIALACCOUNT_ONLY %} |
| 7 | {% element hr %} |
| 8 | {% endelement %} |
| 9 | {% element h2 %} |
| 10 | {% translate "Or use a third-party" %} |
| 11 | {% endelement %} |
| 12 | {% endif %} |
| 13 | {% include "socialaccount/snippets/provider_list.html" with process="login" %} |
| 14 | {% include "socialaccount/snippets/login_extra.html" %} |
| 15 | {% endif %} |