36 lines
1.2 KiB
HTML
36 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="pt-BR">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Novo Material</title>
|
|
</head>
|
|
<body>
|
|
<h1>Registrar Novo Material</h1>
|
|
<form method="post">
|
|
<div>
|
|
<label for="militante_id">ID do Militante:</label>
|
|
<input type="number" id="militante_id" name="militante_id" required>
|
|
</div>
|
|
<div>
|
|
<label for="tipo_material_id">Tipo de Material:</label>
|
|
<input type="number" id="tipo_material_id" name="tipo_material_id" required>
|
|
</div>
|
|
<div>
|
|
<label for="descricao">Descrição:</label>
|
|
<input type="text" id="descricao" name="descricao" required>
|
|
</div>
|
|
<div>
|
|
<label for="valor">Valor:</label>
|
|
<input type="number" id="valor" name="valor" step="0.01" required>
|
|
</div>
|
|
<div>
|
|
<label for="data_venda">Data da Venda:</label>
|
|
<input type="date" id="data_venda" name="data_venda" required>
|
|
</div>
|
|
<button type="submit">Registrar Material</button>
|
|
</form>
|
|
<a href="{{ url_for('listar_materiais') }}">Voltar para Lista</a>
|
|
<a href="{{ url_for('home') }}">Home</a>
|
|
</body>
|
|
</html>
|