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.0 KiB
38 lines
1.0 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>Numeração</legend>
|
|
<table>
|
|
<tr>
|
|
<th>Tipo Matéria</th>
|
|
<th>Descrição</th>
|
|
<th>Número</th>
|
|
<th>Ano</th>
|
|
<th>Data</th>
|
|
</tr>
|
|
{% for n in numeracao %}
|
|
<tr>
|
|
<td><a href="{% url 'numeracao_edit' materialegislativa.id n.id %}">{{n.tipo_materia.sigla}}</a></td>
|
|
<td>{{n.tipo_materia.descricao}}</td>
|
|
<td>{{n.numero_materia}}</td>
|
|
<td>{{n.ano_materia}}</td>
|
|
<td>{{n.data_materia|date:'d/m/Y'}}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
</fieldset>
|
|
{% crispy form %}
|
|
</fieldset>
|
|
{% endblock %}
|