| author | cavaliet |
| Mon, 07 Jul 2014 17:23:47 +0200 | |
| changeset 122 | d672f7dd74dc |
| parent 5 | d8cb31543a3f |
| permissions | -rwxr-xr-x |
| 2 | 1 |
{% extends 'CompanyBaseBundle::layout.html.twig' %} |
2 |
||
3 |
{% block content %} |
|
|
5
d8cb31543a3f
translation and override FOSUserBundle layout
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
4 |
<h1>{{'document.edit.title'| trans({},'CompanyBaseBundle')}}</h1> |
| 2 | 5 |
|
6 |
<form action="{{ path('document_update', { 'id': entity.id }) }}" method="post" {{ form_enctype(edit_form) }}> |
|
7 |
{{ form_widget(edit_form) }} |
|
8 |
<p> |
|
|
5
d8cb31543a3f
translation and override FOSUserBundle layout
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
9 |
<button type="submit">{{'document.edit.submit'| trans({},'CompanyBaseBundle')}}</button> |
| 2 | 10 |
</p> |
11 |
</form> |
|
12 |
||
13 |
<ul class="record_actions"> |
|
14 |
<li> |
|
15 |
<a href="{{ path('document') }}"> |
|
|
5
d8cb31543a3f
translation and override FOSUserBundle layout
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
16 |
{{'document.edit.back'| trans({},'CompanyBaseBundle')}} |
| 2 | 17 |
</a> |
18 |
</li> |
|
19 |
<li> |
|
20 |
<form action="{{ path('document_delete', { 'id': entity.id }) }}" method="post"> |
|
21 |
{{ form_widget(delete_form) }} |
|
|
5
d8cb31543a3f
translation and override FOSUserBundle layout
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
22 |
<button type="submit">{{'document.edit.delete'| trans({},'CompanyBaseBundle')}}</button> |
| 2 | 23 |
</form> |
24 |
</li> |
|
25 |
</ul> |
|
26 |
{% endblock %} |