Commit e9b2b819 by Marina

mudei o index

parent e455730f
{% extends 'base.html' %}
{% block content %}
<h2>Lista de Animais</h2>
<table>
<tr>
<th>Nome</th>
<th>Espécie</th>
<th>Idade</th>
<th>Peso</th>
<th>Ações</th>
</tr>
{% for animal in animais %}
<tr>
<td>{{ animal.nome }}</td>
<td>{{ animal.especie }}</td>
<td>{{ animal.idade }}</td>
<td>{{ animal.peso }}</td>
<td>
<a href="/editar/{{ animal.id }}">Editar</a>
<a href="/excluir/{{ animal.id }}">Excluir</a>
</td>
</tr>
{% endfor %}
</table>
{% endblock %}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment