2017-04-09 18:08:01 -07:00
|
|
|
{% trans_default_domain 'FOSUserBundle' %}
|
2017-04-22 12:43:30 -07:00
|
|
|
{% if form.vars.errors is not empty %}
|
|
|
|
<div class="uk-alert uk-alert-danger">
|
|
|
|
{{ form_errors(form) }}
|
2017-04-09 18:08:01 -07:00
|
|
|
|
|
|
|
</div>
|
2017-04-22 12:43:30 -07:00
|
|
|
{% endif %}
|
|
|
|
{{ form_start(form, { 'action': path('fos_user_profile_edit'), 'attr': { 'class': 'uk-form-horizontal fos_user_profile_edit' } }) }}
|
|
|
|
{{ form_label(form.email) }}
|
|
|
|
<div class="uk-form-controls uk-form-controls-text">
|
|
|
|
{{ form_widget(form.email) }}
|
|
|
|
</div>
|
|
|
|
{{ form_label(form.name) }}
|
|
|
|
<div class="uk-form-controls uk-form-controls-text">
|
|
|
|
{{ form_widget(form.name) }}
|
|
|
|
</div>
|
|
|
|
{{ form_label(form.rsvp) }}
|
|
|
|
<div class="uk-form-controls uk-form-controls-text">
|
|
|
|
{{ form_widget(form.rsvp) }}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="uk-form-controls uk-margin-medium-top">
|
|
|
|
<input type="submit" class="uk-button uk-button-large uk-width-1-1@s uk-width-1-3@m uk-align-right uk-button-primary" value="{{ 'profile.edit.submit'|trans }}" />
|
|
|
|
</div>
|
|
|
|
<div class="uk-form-controls">
|
|
|
|
<a href="{{ url('fos_user_profile_show') }}" title="Cancel" class="uk-width-1-1@s uk-width-1-3@m uk-button uk-button-large uk-button-danger uk-align-right">Cancel</a>
|
|
|
|
</div>
|
|
|
|
{{ form_rest(form) }}
|
2017-04-09 18:08:01 -07:00
|
|
|
{{ form_end(form) }}
|