ajout des traductions en et fr
This commit is contained in:
@@ -3,11 +3,11 @@
|
||||
{% block title %}Edit Post{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<h1>Edit Post</h1>
|
||||
<h1>{{ 'edit_post'|trans }}</h1>
|
||||
|
||||
{{ include('post/_form.html.twig', {'button_label': 'Update'}) }}
|
||||
{{ include('post/_form.html.twig', {'button_label': 'update'|trans}) }}
|
||||
|
||||
<a href="{{ path('app_post_index') }}">Back to list</a>
|
||||
<a href="{{ path('app_post_index') }}">{{ 'back_to_list'|trans }}</a>
|
||||
|
||||
{{ include('post/_delete_form.html.twig') }}
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user