Added SQL, dao and app - not functional
This commit is contained in:
30
templates/novo_pagamento.html
Normal file
30
templates/novo_pagamento.html
Normal file
@@ -0,0 +1,30 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="pt-BR">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Novo Pagamento</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Registrar Novo Pagamento</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_pagamento_id">Tipo de Pagamento:</label>
|
||||
<input type="number" id="tipo_pagamento_id" name="tipo_pagamento_id" required>
|
||||
</div>
|
||||
<div>
|
||||
<label for="valor">Valor:</label>
|
||||
<input type="number" id="valor" name="valor" step="0.01" required>
|
||||
</div>
|
||||
<div>
|
||||
<label for="data_pagamento">Data do Pagamento:</label>
|
||||
<input type="date" id="data_pagamento" name="data_pagamento" required>
|
||||
</div>
|
||||
<button type="submit">Registrar Pagamento</button>
|
||||
</form>
|
||||
<a href="{{ url_for('listar_pagamentos') }}">Voltar para Lista</a>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user