caisse-bliss/app/Resources/HWIOAuthBundle/views/Connect/login.html.twig
2018-04-17 12:10:21 +02:00

15 lines
493 B
Twig
Executable File

{% extends '@HWIOAuth/layout.html.twig' %}
{% block hwi_oauth_content %}
{% if error is defined and error %}
<span>{{ error }}</span>
{% endif %}
{% for owner in hwi_oauth_resource_owners() %}
<a class="btn btn-default btn-block btn-{{ owner }}" href="{{ hwi_oauth_login_url(owner) }}">
<i class="fa fa-{{ owner }}"></i>
{{ owner | trans({}, 'HWIOAuthBundle') }}
</a>
<br/>
{% endfor %}
{% endblock hwi_oauth_content %}