Added SQL, dao and app - not functional
This commit is contained in:
34
templates/novo_material.html
Normal file
34
templates/novo_material.html
Normal file
@@ -0,0 +1,34 @@
|
||||
<!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>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user