Commit 0d3aa3e7 by Hiago Rafael

so fazendo umas coisas

parent f81a95f4
jasgdasfuykdvasjdvaskuydfas,bvuydtsdnfvusyaldv.sjadfoagsld, nassb askyudfav nmdavh aknbvpylç.. <form action="/adicionar" method="POST">
\ No newline at end of file <input type="text" name="nome" placeholder="Nome" required>
<input type="text" name="tipo" placeholder="Tipo" required>
<input type="number" name="idade" placeholder="Idade" required>
<button type="submit">Adicionar</button>
</form>
<h2>Lista de Animais</h2>
<ul>
{% for animal in animais %}
<li>
{{ animal.nome }} ({{ animal.tipo }}, {{ animal.idade }} anos)
<a href="/excluir/{{ loop.index0 }}">Excluir</a>
</li>
{% endfor %}
</ul>
</body>
</html>
\ 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