123456789101112131415161718192021 |
- {% extends 'HWIOAuthBundle::layout.html.twig' %}
- {% block hwi_oauth_content %}
- <div class="col-xs-12">
- <h2 class="title">{{ 'header.register' | trans({'%name%': userInformation.realName}, 'HWIOAuthBundle') }}</h2>
- </div>
- <div class="col-md-6">
- {{ form_start(form, {'action': path('hwi_oauth_connect_registration', {'key': key}), 'attr': {'class': 'hwi_oauth_registration_register'}}) }}
- {{ form_widget(form) }}
- <div>
- <button type="submit" class="btn btn-primary">{{ 'connect.registration.submit'|trans({}, 'HWIOAuthBundle') }}</button>
- <a href="{{ path('hwi_oauth_connect') }}" class="btn btn-warning">{{ 'connect.registration.cancel' | trans({}, 'HWIOAuthBundle') }}</a>
- </div>
- {{ form_end(form) }}
- </div>
- <div class="col-md-6">
- {% if userInformation.profilePicture is not empty %}
- <img src="{{ userInformation.profilePicture }}" />
- {% endif %}
- </div>
- {% endblock hwi_oauth_content %}
|