Files
controles/templates/listar_cotas.html

32 lines
909 B
HTML
Raw Normal View History

{% extends 'base.html' %}
{% block title %}Listar Militantes{% endblock %}
{% block content %}
<h1>Cotas Mensais</h1>
<a href="{{ url_for('nova_cota') }}">Adicionar Nova Cota</a>
<table border="1">
<thead>
<tr>
<th>ID</th>
<th>Militante ID</th>
<th>Valor Antigo</th>
<th>Valor Novo</th>
<th>Data de Alteração</th>
</tr>
</thead>
<tbody>
{% for cota in cotas %}
<tr>
<td>{{ cota.id }}</td>
<td>{{ cota.militante_id }}</td>
<td>R$ {{ cota.valor_antigo }}</td>
<td>R$ {{ cota.valor_novo }}</td>
<td>{{ cota.data_alteracao }}</td>
</tr>
{% endfor %}
</tbody>
</table>
2025-01-08 00:19:49 -03:00
<a href="{{ url_for('home') }}">Home</a>
{% endblock %}