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.
30 lines
861 B
30 lines
861 B
{% 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>Filiações</legend>
|
|
|
|
<table class="table table-striped table-bordered">
|
|
<thead class="thead-default">
|
|
<tr>
|
|
<th><strong>Partido</strong></th>
|
|
<th><strong>Data Filiação</strong></th>
|
|
<th><strong>Data Desfiliação</strong></th>
|
|
</tr>
|
|
</thead>
|
|
{% for f in filiacoes %}
|
|
<tr>
|
|
<td><a href="{% url 'parlamentares:parlamentar_filiacao_edit' object.id f.id %}">{{f.partido.sigla}}</a></td>
|
|
<td>{{f.data}}</td>
|
|
<td>{{f.data_desfiliacao|default_if_none:""}}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
</fieldset>
|
|
{% crispy form %}
|
|
{% endblock detail_content %}
|
|
|