mirror of https://github.com/interlegis/sapl.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.1 KiB
38 lines
1.1 KiB
{% extends "parlamentares/parlamentar_detail.html" %}
|
|
{% load i18n %}
|
|
{% load crispy_forms_tags %}
|
|
{% block actions %}{% endblock %}
|
|
{% block detail_content %}
|
|
|
|
<h2><strong>Parlamentar: </strong>{{ object.nome_parlamentar }}</h2>
|
|
|
|
<fieldset>
|
|
<legend>Mandatos</legend>
|
|
|
|
<table class="table table-striped table-bordered">
|
|
<thead class="thead-default">
|
|
<tr>
|
|
<th><strong>Legislatura</strong></th>
|
|
<th><strong>Coligação</strong></th>
|
|
<th><strong>Fim Mandato</strong></th>
|
|
<th><strong>Exp. Diploma</strong></th>
|
|
<th><strong>Nº Votos</strong></th>
|
|
<th><strong>Observação</strong></th>
|
|
</tr>
|
|
</thead>
|
|
{% for m in mandatos %}
|
|
<tr>
|
|
<td><a href="{% url 'parlamentares:parlamentar_mandato_edit' object.id m.id %}">{{m.legislatura}}</a></td>
|
|
<td>{{m.coligacao|default_if_none:""}}</td>
|
|
<td>{{m.data_fim_mandato|default_if_none:""}}</td>
|
|
<td>{{m.data_expedicao_diploma|default_if_none:""}}</td>
|
|
<td>{{m.votos_recebidos|default_if_none:""}}</td>
|
|
<td>{{m.observacao|default_if_none:""}}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
</fieldset>
|
|
|
|
{% crispy form %}
|
|
|
|
{% endblock detail_content %}
|
|
|