doughnut-wedding/app/Resources/HWIOAuthBundle/views/Connect/connect_confirm.html.twig

28 lines
1.5 KiB
Twig
Raw Normal View History

2017-04-22 12:43:30 -07:00
{% extends 'base.html.twig' %}
2017-04-09 18:08:01 -07:00
2017-04-22 12:43:30 -07:00
{% block body %}
2017-04-09 18:08:01 -07:00
<h3>{{ 'header.connecting' | trans({}, 'HWIOAuthBundle')}}</h3>
2017-04-22 12:43:30 -07:00
<div class="uk-width-1-1">
<p>{{ 'connect.confirm.text' | trans({'%service%': service | trans({}, 'HWIOAuthBundle'), '%name%': userInformation.email}, 'HWIOAuthBundle') }}</p>
2017-04-09 18:08:01 -07:00
<p>
{{ form_start(form, {'action': path('hwi_oauth_connect_service', {'service': service, 'key': key}), 'attr': {'class': 'fos_user_registration_register'}}) }}
{{ form_widget(form) }}
2017-04-22 12:43:30 -07:00
<div class="uk-grid uk-child-width-1-2@m uk-child-width-1-1@s uk-grid-margin-medium" uk-grid>
<div>
<button type="submit" class="uk-width-1-1 uk-button uk-button-large uk-button-primary">{{ 'connect.confirm.submit' | trans({}, 'HWIOAuthBundle') }}</button>
</div>
<div>
<a href="{{ path('fos_user_profile_show') }}" class="uk-width-1-1 uk-button uk-button-large uk-button-danger">{{ 'connect.confirm.cancel' | trans({}, 'HWIOAuthBundle') }}</a>
</div>
</div>
2017-04-09 18:08:01 -07:00
{{ form_end(form) }}
</p>
<div class="span6">
{% if userInformation.profilePicture is defined and userInformation.profilePicture is not empty %}
<img src="{{ userInformation.profilePicture }}" />
{% endif %}
</div>
</div>
2017-04-22 12:43:30 -07:00
{% endblock body %}