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.
36 lines
1.0 KiB
36 lines
1.0 KiB
{% extends "parlamentares/parlamentares_detail.html" %}
|
|
{% load i18n %}
|
|
{% load crispy_forms_tags %}
|
|
{% block actions %}{% endblock %}
|
|
{% block detail_content %}
|
|
|
|
<strong>Parlamentar: </strong>{{ parlamentar.nome_parlamentar }}
|
|
|
|
<fieldset>
|
|
<legend>Mandatos</legend>
|
|
|
|
<table>
|
|
<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>
|
|
{% for m in mandatos %}
|
|
<tr>
|
|
<td><a href="{% url 'parlamentares_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 %}
|
|
|