You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
907 B
31 lines
907 B
{% extends 'base.html.twig' %}
|
|
|
|
{% block title %}{{ 'species'|trans }}{% endblock %}
|
|
|
|
{% block body %}
|
|
<style>
|
|
.example-wrapper { margin: 1em auto; max-width: 800px; width: 95%; font: 18px/1.5 sans-serif; }
|
|
.example-wrapper code { background: #F5F5F5; padding: 2px 6px; }
|
|
</style>
|
|
|
|
<div class="example-wrapper">
|
|
<h1>{{ 'list_of_species'|trans }}</h1>
|
|
|
|
<dl>
|
|
{% for specie in species %}
|
|
<dt>
|
|
<a href={{ path('app_species_show', {'id': specie.id}) }}>
|
|
🌿 {{ specie.vernacularName }}
|
|
</a>
|
|
</dt>
|
|
<dd >
|
|
🔬 {{ 'scientific_name'|trans }} : {{ specie.scientificName }}<br/>
|
|
📍 {{ 'region'|trans }} : {{ specie.region }}
|
|
</dd><br/>
|
|
{% endfor %}
|
|
</dl>
|
|
|
|
<a href="{{ path('app_species_new') }}">{{ 'create_new'|trans }}</a>
|
|
</div>
|
|
{% endblock %}
|