{% extends 'base.html.twig' %} {% block title %}Post{% endblock %} {% block body %}

Post

Id {{ post.id }}
Title {{ post.title }}
Summary {{ post.summary }}
Content {{ post.content }}
Created_at {{ post.createdAt ? post.createdAt|date('Y-m-d H:i:s') : '' }}
Author {{ post.author }}
Image {{ post.image }}
{{ form_start(form) }} {{ form_widget(form) }} {{ form_end(form) }} back to list edit {{ include('post/_delete_form.html.twig') }} {% endblock %}