hegresphere/templates/message/show.html.twig

31 lines
780 B
Twig
Raw Permalink Normal View History

2024-11-21 17:04:56 +01:00
{% extends 'base.html.twig' %}
{% block title %}Message{% endblock %}
{% block body %}
<h1>Message</h1>
<table class="table">
<tbody>
<tr>
<th>Id</th>
<td>{{ message.id }}</td>
</tr>
<tr>
<th>Content</th>
<td>{{ message.content }}</td>
</tr>
<tr>
<th>SendingDate</th>
<td>{{ message.sendingDate ? message.sendingDate|date('Y-m-d H:i:s') : '' }}</td>
</tr>
</tbody>
</table>
<a href="{{ path('app_message_index') }}">back to list</a>
<a href="{{ path('app_message_edit', {'id': message.id}) }}">edit</a>
{{ include('message/_delete_form.html.twig') }}
{% endblock %}