From c9e52cd0578daad2524e3d5ce155332eef8d4f2e Mon Sep 17 00:00:00 2001 From: Yonel Ceruto Date: Tue, 21 Mar 2017 15:36:48 -0400 Subject: [PATCH] Add show button in edit page --- app/Resources/translations/messages.en.xlf | 4 ++++ app/Resources/views/admin/blog/edit.html.twig | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/app/Resources/translations/messages.en.xlf b/app/Resources/translations/messages.en.xlf index efa9a0ecd..d76bc74d6 100644 --- a/app/Resources/translations/messages.en.xlf +++ b/app/Resources/translations/messages.en.xlf @@ -101,6 +101,10 @@ action.show Show + + action.show_post + Show post + action.show_code Show code diff --git a/app/Resources/views/admin/blog/edit.html.twig b/app/Resources/views/admin/blog/edit.html.twig index a5a58b8f8..53b955fe6 100644 --- a/app/Resources/views/admin/blog/edit.html.twig +++ b/app/Resources/views/admin/blog/edit.html.twig @@ -13,6 +13,12 @@ {% endblock %} {% block sidebar %} + +
{{ include('admin/blog/_delete_form.html.twig', { post: post }, with_context = false) }}