doughnut-wedding/app/Resources/FOSUserBundle/views/Profile/edit_content.html.twig

32 lines
1.2 KiB
Twig
Raw Normal View History

2017-04-09 18:08:01 -07:00
{% trans_default_domain 'FOSUserBundle' %}
2017-05-05 22:49:54 -07:00
{{ form_errors(form) }}
2017-04-22 12:43:30 -07:00
{{ 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">
2017-05-05 22:49:54 -07:00
{{ form_errors(form.email) }}
2017-04-22 12:43:30 -07:00
{{ form_widget(form.email) }}
</div>
{{ form_label(form.name) }}
<div class="uk-form-controls uk-form-controls-text">
2017-05-05 22:49:54 -07:00
{{ form_errors(form.name) }}
2017-04-22 12:43:30 -07:00
{{ form_widget(form.name) }}
</div>
2017-05-05 22:49:54 -07:00
{{ form_label(form.rsvp) }}
<div class="uk-form-controls uk-form-controls-text">
{{ form_errors(form.rsvp) }}
{{ form_widget(form.rsvp) }}
</div>
2017-04-22 12:43:30 -07:00
2017-05-05 22:49:54 -07:00
<div class="uk-margin-medium-top">
<button 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 }}">{{ 'profile.edit.submit'|trans }}</button>
2017-04-22 12:43:30 -07:00
</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) }}