🎉 first commit
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block title %}Todo{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<h1>Todo</h1>
|
||||
|
||||
<table class="table">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>Id</th>
|
||||
<td>{{ todo.id }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Title</th>
|
||||
<td>{{ todo.title }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Completed</th>
|
||||
<td>{{ todo.completed ? 'Yes' : 'No' }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>CreatedAt</th>
|
||||
<td>{{ todo.createdAt ? todo.createdAt|date('Y-m-d H:i:s') : '' }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<a href="{{ path('app_todo_index') }}">back to list</a>
|
||||
|
||||
<a href="{{ path('app_todo_edit', {'id': todo.id}) }}">edit</a>
|
||||
|
||||
{{ include('todo/_delete_form.html.twig') }}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user