Added SQL, dao and app - not functional
This commit is contained in:
38
templates/nova_assinatura.html
Normal file
38
templates/nova_assinatura.html
Normal file
@@ -0,0 +1,38 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="pt-BR">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Nova Assinatura Anual</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Registrar Nova Assinatura Anual</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="quantidade">Quantidade:</label>
|
||||
<input type="number" id="quantidade" name="quantidade" required>
|
||||
</div>
|
||||
<div>
|
||||
<label for="valor_total">Valor Total:</label>
|
||||
<input type="number" id="valor_total" name="valor_total" step="0.01" required>
|
||||
</div>
|
||||
<div>
|
||||
<label for="data_inicio">Data de Início:</label>
|
||||
<input type="date" id="data_inicio" name="data_inicio" required>
|
||||
</div>
|
||||
<div>
|
||||
<label for="data_fim">Data de Fim:</label>
|
||||
<input type="date" id="data_fim" name="data_fim" required>
|
||||
</div>
|
||||
<button type="submit">Registrar Assinatura</button>
|
||||
</form>
|
||||
<a href="{{ url_for('listar_assinaturas') }}">Voltar para Lista</a>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user