2018-04-04 16:25:25 +02:00
|
|
|
{% extends '@HWIOAuth/layout.html.twig' %}
|
|
|
|
|
|
|
|
{% block hwi_oauth_content %}
|
|
|
|
{% if error is defined and error %}
|
|
|
|
<span>{{ error }}</span>
|
|
|
|
{% endif %}
|
2018-04-25 15:08:39 +02:00
|
|
|
|
2018-04-25 17:32:44 +02:00
|
|
|
<a class="btn btn-default btn-{{ "twitter" }}" href="{{ hwi_oauth_login_url("twitter") }}">
|
2018-04-25 15:08:39 +02:00
|
|
|
<i class="fa fa-{{ "twitter" }}"></i>
|
|
|
|
{{ "twitter" | trans({}, 'HWIOAuthBundle') }}
|
|
|
|
</a>
|
|
|
|
|
|
|
|
{#{% 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 %}#}
|
2018-04-04 16:25:25 +02:00
|
|
|
{% endblock hwi_oauth_content %}
|