Files
controles/templates/nova_cota.html

32 lines
1.2 KiB
HTML

{% extends 'base.html' %}
{% block title %}Listar Militantes{% endblock %}
{% block content %}
<h1>Registrar Nova Cota Mensal</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="valor_antigo">Valor Antigo:</label>
<input type="number" id="valor_antigo" name="valor_antigo" step="0.01" required>
</div>
<div>
<label for="valor_novo">Valor Novo:</label>
<input type="number" id="valor_novo" name="valor_novo" step="0.01" required>
</div>
<div>
<label for="data_alteracao">Data de Alteração:</label>
<input type="date" id="data_alteracao" name="data_alteracao" required>
</div>
<div class="d-flex gap-2">
<button type="submit" class="btn btn-primary">Registrar</button>
<a href="{{ url_for('listar_cotas') }}" class="btn btn-secondary">Voltar</a>
<a href="{{ url_for('home') }}" class="btn btn-outline-primary">Início</a>
</div>
</form>
{% endblock %}