update form
This commit is contained in:
34
templates/species/show.html.twig
Normal file
34
templates/species/show.html.twig
Normal file
@@ -0,0 +1,34 @@
|
||||
{% 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 %}
|
Reference in New Issue
Block a user