src/AffiliateDashboardBundle/Resources/views/User/edit.html.twig
{% extends 'base.html.twig' %}
{% block body %}
<div class="page-header">
<h1>{% trans %}Edit User{% endtrans %}</h1>
</div>
{{ form_start(edit_form, { 'style': 'horizontal' }) }}
{{ form_widget(edit_form) }}
<p>
<input type="submit" value="{% trans %}save{% endtrans %}" class="btn btn-primary" />
</p>
{{ form_end(edit_form) }}
<p>
{{ form_start(delete_form) }}
<input type="submit" value="{% trans %}delete{% endtrans %}" class="btn btn-danger" />
{{ form_end(delete_form) }}
</p>
<p>
<a class="btn btn-default btn-xs" href="{{ path('user_index') }}">{% trans %}back to the list{% endtrans %}</a>
</p>
{% endblock %}