You need to sign in or sign up before continuing.
Commit ea3ff480 by Marina

criei o editar

parent f8b009a2
{% extends 'base.html' %}
{% block content %}
<h2>Editar Animal</h2>
<form method="POST">
<input type="text" name="nome" value="{{ animal.nome }}" required><br>
<input type="text" name="especie" value="{{ animal.especie }}" required><br>
<input type="number" name="idade" value="{{ animal.idade }}"><br>
<input type="number" step="0.1" name="peso" value="{{ animal.peso }}"><br>
<button type="submit">Atualizar</button>
</form>
{% 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