Add post and species forms
Squashed commit of the following: Author: Hugo PRADIER <Hugo.PRADIER2@etu.uca.fr> Author: bastien ollier <bastien.ollier@etu.uca.fr> Author: clfreville2 <clement.freville2@etu.uca.fr> Reviewed on #7
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block title %}Herbarium - Espèces{% endblock %}
|
||||
{% block title %}Species{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<style>
|
||||
@@ -14,16 +14,17 @@
|
||||
<dl>
|
||||
{% for specie in species %}
|
||||
<dt>
|
||||
<a href={{ url('app_species') ~ '/' ~ specie.getId }}>
|
||||
🌿 {{ specie.getVernacularName }}
|
||||
<a href={{ path('app_species_show', {'id': specie.id}) }}>
|
||||
🌿 {{ specie.vernacularName }}
|
||||
</a>
|
||||
</dt>
|
||||
<dd >
|
||||
🔬 Nom Scientifique : {{ specie.getScientificName }}<br/>
|
||||
📍 Region : {{ specie.getRegion }}
|
||||
🔬 Nom Scientifique : {{ specie.scientificName }}<br/>
|
||||
📍 Region : {{ specie.region }}
|
||||
</dd><br/>
|
||||
{% endfor %}
|
||||
</dl>
|
||||
|
||||
<a href="{{ path('app_species_new') }}">Create new</a>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user