2017-04-09 18:08:01 -07:00
{% trans_default_domain 'FOSUserBundle' %}
2017-04-16 16:55:58 -07:00
<div class="uk-width-1-1">
{{ form_errors ( form ) }}
</div>
2017-04-22 12:43:30 -07:00
{{ dump ( app .session ) }}
2017-04-16 16:55:58 -07:00
{{ form_start ( form , { 'method' : 'post' , 'action' : path ( 'fos_user_registration_register' ) , 'attr' : { 'class' : 'fos_user_registration_register uk-form' }} ) }}
<fieldset class="uk-fieldset">
<legend class="uk-legend">
Register account
</legend>
<div class="uk-margin">
<div hidden> {{ form_label ( form .email ) }} </div>
<div class="uk-form-controls uk-form-controls-text">
{{ form_widget ( form .email , { 'attr' : { 'placeholder' :'Email address' , 'class' :'uk-input uk-form-large uk-padding-small' } } ) }}
</div>
</div>
<div class="uk-margin">
2017-04-22 12:43:30 -07:00
<div hidden> {{ form_label ( form .name , 'Name' , { 'label_attr' : { 'class' :'uk-form-label' }} ) }}</div>
2017-04-16 16:55:58 -07:00
<div class="uk-form-controls uk-form-controls-text">
2017-04-22 12:43:30 -07:00
{{ form_widget ( form .name , { 'attr' : { 'placeholder' :'Name' , 'class' :'uk-input uk-form-large uk-padding-small' } } ) }}
2017-04-16 16:55:58 -07:00
</div>
</div>
<div class="uk-margin">
<div hidden> {{ form_label ( form .rsvp ) }} </div>
<div class="uk-form-controls uk-form-controls-text">
{{ form_widget ( form .rsvp ) }}
</div>
<div class="uk-margin">
<div hidden> {{ form_label ( form .plainPassword .first , 'Password' , { 'label_attr' : { 'class' :'uk-form-label' }} ) }}</div>
<div class="uk-form-controls uk-form-controls-text">
{{ form_widget ( form .plainPassword .first , { 'attr' : { 'placeholder' :'Password' , 'class' :'uk-input uk-form-large uk-padding-small' } } ) }}
</div>
</>
<div class="uk-margin">
<div hidden> {{ form_label ( form .plainPassword .second , 'Repeat ' , { 'label_attr' : { 'class' :'uk-form-label' }} ) }}</div>
<div class="uk-form-controls uk-form-controls-text">
{{ form_widget ( form .plainPassword .second , { 'attr' : { 'placeholder' :'Repeat Password' , 'class' :'uk-input uk-form-large uk-padding-small' } } ) }}
2017-04-09 18:08:01 -07:00
</div>
2017-04-16 16:55:58 -07:00
</div>
<div class="uk-margin uk-grid" uk-grid>
<div class="uk-form-controls uk-width-1-2">
<input type="submit" value=" {{ 'registration.submit' | trans }} " class="uk-button uk-button-primary uk-button-large" />
</div>
<div class="uk-form-controls-text uk-text-muted uk-margin-small-top uk-width-1-2">
<div class="uk-text-large uk-visible@m">Already have an account? Login <a href=" {{ path ( 'fos_user_security_login' ) }} ">here</a>.</div>
<div class="uk-hidden@m uk-padding-small uk-padding-remove-vertical">Already have an account? Login <a href=" {{ path ( 'fos_user_security_login' ) }} ">here</a>.</div>
</div>
</div>
</fieldset>
2017-04-09 18:08:01 -07:00
{{ form_end ( form ) }}
2017-04-16 16:55:58 -07:00