|
|
@ -4,20 +4,22 @@ |
|
|
|
{% block actions %}{% endblock %} |
|
|
|
{% block detail_content %} |
|
|
|
|
|
|
|
<strong>Parlamentar: </strong>{{ parlamentar.nome_parlamentar }} |
|
|
|
<h2><strong>Parlamentar: </strong>{{ object.nome_parlamentar }}</h2> |
|
|
|
|
|
|
|
<fieldset> |
|
|
|
<legend>Mandatos</legend> |
|
|
|
<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> |
|
|
|
<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_mandato_edit' object.id m.id %}">{{m.legislatura}}</a></td> |
|
|
@ -28,9 +30,9 @@ |
|
|
|
<td>{{m.observacao|default_if_none:""}}</td> |
|
|
|
</tr> |
|
|
|
{% endfor %} |
|
|
|
</table> |
|
|
|
</fieldset> |
|
|
|
</table> |
|
|
|
</fieldset> |
|
|
|
|
|
|
|
{% crispy form %} |
|
|
|
{% crispy form %} |
|
|
|
|
|
|
|
{% endblock detail_content %} |
|
|
|