|
@ -52,8 +52,8 @@ |
|
|
<tbody> |
|
|
<tbody> |
|
|
{% for pokemon in pokemon %} |
|
|
{% for pokemon in pokemon %} |
|
|
<tr> |
|
|
<tr> |
|
|
<td scope="row">{{ pokemon.numero }}</td> |
|
|
<td scope="row">{{ pokemon.numero }}.</td> |
|
|
<td scope="row">{{ pokemon.nom }}</td> |
|
|
<td scope="row">{{ pokemon.nom }} {% if pokemon.imageName %} <img style="margin-left: 5px;" src={{ asset('/images/pokemons/' ~ pokemon.imageName)}} alt="pokemon-img" height="30px"> {% endif %}</td> |
|
|
<td scope="row">{{ pokemon.type1.name }}</td> |
|
|
<td scope="row">{{ pokemon.type1.name }}</td> |
|
|
<td scope="row">{% if pokemon.type2 %} {{ pokemon.type2.name }} {% endif %}</td> |
|
|
<td scope="row">{% if pokemon.type2 %} {{ pokemon.type2.name }} {% endif %}</td> |
|
|
<td scope="row">{{ pokemon.generation.name }}</td> |
|
|
<td scope="row">{{ pokemon.generation.name }}</td> |
|
|