{% extends 'base.html.twig' %} {% block body %}

{{ 'header.connecting' | trans({}, 'HWIOAuthBundle')}}

{{ 'connect.confirm.text' | trans({'%service%': service | trans({}, 'HWIOAuthBundle'), '%name%': userInformation.email}, 'HWIOAuthBundle') }}

{{ form_start(form, {'action': path('hwi_oauth_connect_service', {'service': service, 'key': key}), 'attr': {'class': 'fos_user_registration_register'}}) }} {{ form_widget(form) }}

{{ 'connect.confirm.cancel' | trans({}, 'HWIOAuthBundle') }}
{{ form_end(form) }}

{% if userInformation.profilePicture is defined and userInformation.profilePicture is not empty %} {% endif %}
{% endblock body %}