hegresphere/templates/faq/show.html.twig

35 lines
842 B
Twig
Raw Permalink Normal View History

2024-11-21 17:04:56 +01:00
{% extends 'base.html.twig' %}
{% block title %}FAQ{% endblock %}
{% block body %}
<h1>FAQ</h1>
<table class="table">
<tbody>
<tr>
<th>Id</th>
<td>{{ faq.id }}</td>
</tr>
<tr>
<th>Question</th>
<td>{{ faq.question }}</td>
</tr>
<tr>
<th>Answer</th>
<td>{{ faq.answer }}</td>
</tr>
<tr>
<th>UpdateDate</th>
<td>{{ faq.updateDate ? faq.updateDate|date('Y-m-d') : '' }}</td>
</tr>
</tbody>
</table>
<a href="{{ path('app_faq_index') }}">back to list</a>
<a href="{{ path('app_faq_edit', {'id': faq.id}) }}">edit</a>
{{ include('faq/_delete_form.html.twig') }}
{% endblock %}