{% extends "layout.html.twig" %} {% block stylesheets %} {% endblock %} {% block title %} {{ "title" | trans({}, "SocialLogin") }} {% endblock %} {% block body %}

{{ 'header' | trans({}, 'SocialLogin') }}


{% for flashMessage in app.session.flashbag.get('user_register_invitation_note') %} {% endfor %}
{{form_row(registrationForm._token)}}
{{ form_widget(registrationForm.username, {'attr':{'class' : 'form-control' , 'placeholder' : 'form.placeholder.username'|trans({},'FOSUserBundle')}}) }} {{ form_errors(registrationForm.username) }}
{% if registrationForm.studyField is defined %}
{{ form_widget(registrationForm.studyField) }} {{ form_errors(registrationForm.studyField) }}
{% endif %}
{{ form_widget(registrationForm.country, {'attr':{'class' : 'form-control', 'placeholder' : 'form.placeholder.country'|trans({},'FOSUserBundle')}}) }} {{ form_errors(registrationForm.country) }}
{{ form_widget(registrationForm.cell, {'attr':{'class' : 'form-control', 'placeholder' : 'form.placeholder.cell'|trans({},'FOSUserBundle')}}) }} {{ form_errors(registrationForm.cell) }}
{{ form_widget(registrationForm.gender, {'attr':{'class' : 'form-control'}}) }} {{ form_errors(registrationForm.gender) }}
{{ form_widget(registrationForm.birthdate) }} {{ form_errors(registrationForm.birthdate) }}
{% if registrationForm.reCaptcha is defined %}
{{ form_errors(registrationForm.reCaptcha) }} {{ form_widget(registrationForm.reCaptcha, {'attr': {'data-toggle':'reCaptcha', 'data-type':'checkbox', }}) }}
{% endif %} {{ form_errors(registrationForm) }}
{% endblock %} {% block css %} {{ parent() }} {% endblock %} {% block scripts %} {{ parent() }} {% endblock %}