22 lines
601 B
Twig
22 lines
601 B
Twig
{% extends "layout.html.twig" %}
|
|
{%- block middle %}
|
|
<div class="px-4 py-5 my-5 text-center">
|
|
<h1 class="display-5 fw-bold">Hello</h1>
|
|
</div>
|
|
{% include "message/form.new.html.twig" %}
|
|
<div id="messages">
|
|
{% if messages|length > 0 %}
|
|
<table>
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Text</th>
|
|
<th>Time</th>
|
|
</tr>
|
|
{% for message in messages %}
|
|
{% include "message/fragment.html.twig" %}
|
|
{% endfor %}
|
|
</table>
|
|
{% endif %}
|
|
</div>
|
|
{% endblock -%}
|