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

Post

Id {{ post.id }}
Title {{ post.title }}
Description {{ post.description }}
Image {{ post.image }}
Content {{ post.content }}
Pinned {{ post.pinned ? 'Yes' : 'No' }}
CreatedAt {{ post.createdAt ? post.createdAt|date('Y-m-d H:i:s') : '' }}
UpdatedAt {{ post.updatedAt ? post.updatedAt|date('Y-m-d H:i:s') : '' }}
back to list edit {{ include('post/_delete_form.html.twig') }} {% endblock %}