Commit 23ee93b7 by Ste

alteracao sthefany

parent b8b112f5
from models import db
db.create_all()
\ No newline at end of file
db.create_all()
<form method="POST">
<input type="text" name="nome" placeholder="Nome" required>
<input type="text" name="especie" placeholder="Espécie" required>
<input type="number" name="idade" min="0" required>
<input type="number" name="peso" step="0.1" min="0" required>
<button type="submit">Cadastrar</button>
</form>
\ No newline at end of file
<ul>
{% for animal in animais %}
<li>
{{ animal.nome }} | {{ animal.especie }} |
{{ animal.idade }} anos | {{ animal.peso }} kg
</li>
{% endfor %}
</ul>
\ 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