Commit 182bdabe by Miguel Eduardo

teste

parent 0466be17
env/
*.db
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<title>Cadastrar Animal</title>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
</head>
<body>
<h1>➕ Cadastro de Animal</h1>
<form method="POST">
<input type="text" name="nome" placeholder="Nome" required><br><br>
<input type="text" name="especie" placeholder="Espécie" required><br><br>
<input type="number" name="idade" placeholder="Idade" required><br><br>
<input type="number" step="0.1" name="peso" placeholder="Peso" required><br><br>
<button type="submit">Salvar</button>
</form>
<br>
<a href="/">⬅ Voltar</a>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<title>Editar Animal</title>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
</head>
<body>
<h1>✏️ Editar Animal</h1>
<form method="POST">
<input type="text" name="nome" value="{{ animal.nome }}" required><br><br>
<input type="text" name="especie" value="{{ animal.especie }}" required><br><br>
<input type="number" name="idade" value="{{ animal.idade }}" required><br><br>
<input type="number" step="0.1" name="peso" value="{{ animal.peso }}" required><br><br>
<button type="submit">Atualizar</button>
</form>
<br>
<a href="/">⬅ Voltar</a>
</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