Commit c8d35925 by Ian Gustavo

atualizado essa merda

parent 645bb7ec
...@@ -8,10 +8,22 @@ ...@@ -8,10 +8,22 @@
<input type="text" name="especie" placeholder="Espécie" 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"
name="idade"
<input type="number" name="peso" placeholder="Peso" step="0.1" required><br><br> placeholder="Idade"
min="0"
max="99"
oninput="if(this.value.length > 2) this.value = this.value.slice(0,2);"
onkeydown="return event.keyCode !== 69"
required>
<input type="number"
name="peso"
placeholder="Peso"
min="0"
max="99"
oninput="if(this.value.length > 2) this.value = this.value.slice(0,2);"
required>
<button type="submit">Cadastrar</button> <button type="submit">Cadastrar</button>
</form> </form>
......
...@@ -4,18 +4,15 @@ ...@@ -4,18 +4,15 @@
<h2>Cadastro da Pessoa</h2> <h2>Cadastro da Pessoa</h2>
<form method="POST"> <form method="POST">
<label>Nome do Pessoa:</label><br> <label>Nome do Pessoa:</label><br>
<input type="text" name="nome" required><br><br> <input type="text" name="nome" required><br><br>
<label>Idade:</label><br> <label>Idade:</label><br>
<input type="number" name="idade"><br><br> <input type="number" min="0" name="idade"><br><br>
<label>Peso (kg):</label><br>
<input type="number" step="0.1" name="peso"><br><br>
<label>Data de Nascimento:</label><br> <label>Data de Nascimento:</label><br>
<input type="date" name="data_nascimento"><br><br> <input type="date" name="data_nascimento" min="1930-01-01" max="2026-12-31"><br><br>
<label>Sexo:</label><br> <label>Sexo:</label><br>
<select name="sexo"> <select name="sexo">
......
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