Files
herbarium/templates/species/show.html.twig
bastien ollier b7a750604a update form
2024-06-07 15:58:55 +02:00

35 lines
868 B
Twig

{% extends 'base.html.twig' %}
{% block title %}Species{% endblock %}
{% block body %}
<h1>Species</h1>
<table class="table">
<tbody>
<tr>
<th>Id</th>
<td>{{ species.id }}</td>
</tr>
<tr>
<th>Scientific_name</th>
<td>{{ species.scientificName }}</td>
</tr>
<tr>
<th>Vernacular_name</th>
<td>{{ species.vernacularName }}</td>
</tr>
<tr>
<th>Region</th>
<td>{{ species.region }}</td>
</tr>
</tbody>
</table>
<a href="{{ path('app_species_index') }}">back to list</a>
<a href="{{ path('app_species_edit', {'id': species.id}) }}">edit</a>
{{ include('species/_delete_form.html.twig') }}
{% endblock %}