29 lines
714 B
Twig
29 lines
714 B
Twig
|
{% extends 'base.html.twig' %}
|
||
|
|
||
|
{% block body %}
|
||
|
<h1>Sellrecord</h1>
|
||
|
|
||
|
<table>
|
||
|
<tbody>
|
||
|
<tr>
|
||
|
<th>Date</th>
|
||
|
<td>{% if sellRecord.date %}{{ sellRecord.date|date('Y-m-d H:i:s') }}{% endif %}</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
|
||
|
<ul>
|
||
|
<li>
|
||
|
<a href="{{ path('sellrecord_index') }}">Back to the list</a>
|
||
|
</li>
|
||
|
<li>
|
||
|
<a href="{{ path('sellrecord_edit', { 'date': sellRecord.date }) }}">Edit</a>
|
||
|
</li>
|
||
|
<li>
|
||
|
{{ form_start(delete_form) }}
|
||
|
<input type="submit" value="Delete">
|
||
|
{{ form_end(delete_form) }}
|
||
|
</li>
|
||
|
</ul>
|
||
|
{% endblock %}
|