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.
37 lines
1.1 KiB
37 lines
1.1 KiB
{% extends "materia/materialegislativa_detail.html" %}
|
|
{% load i18n %}
|
|
{% load crispy_forms_tags %}
|
|
|
|
{% block detail_content %}
|
|
<fieldset>
|
|
<legend>Matéria Legislativa</legend>
|
|
<ul class="small-block-grid-3 medium-block-grid-3 large-block-grid-3">
|
|
<li>Tipo: <b>{{materialegislativa.tipo.sigla}}</b></li>
|
|
<li>Número: <b>{{materialegislativa.numero}}</b></li>
|
|
<li>Ano: <b>{{materialegislativa.ano}}</b></li>
|
|
</ul>
|
|
Ementa: <b>{{materialegislativa.ementa}}</b>
|
|
|
|
<fieldset>
|
|
<legend>Tramitações</legend>
|
|
<table>
|
|
<tr>
|
|
<th>Data Ação</th>
|
|
<th>Origem</th>
|
|
<th>Destino</th>
|
|
<th>Status</th>
|
|
</tr>
|
|
{% for t in tramitacoes %}
|
|
<tr>
|
|
<td><a href="{% url 'tramitacao_edit' materialegislativa.id t.id %}">{{t.data_tramitacao|date:'d/m/Y'}}</a></td>
|
|
<td>{{t.unidade_tramitacao_local}}</td>
|
|
<td>{{t.unidade_tramitacao_destino}}</td>
|
|
<td>{{t.status.descricao}}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
</fieldset>
|
|
{% if error %} <h5 align="center"><font color="#FF0000">{{ error }}</font></h5> {% endif %}
|
|
{% crispy form %}
|
|
</fieldset>
|
|
{% endblock %}
|
|
|