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.1 KiB
36 lines
1.1 KiB
{% extends "crud/list.html" %}
|
|
{% load i18n %}
|
|
{% load crispy_forms_tags %}
|
|
{% block base_content %}
|
|
<div class="actions btn-group pull-right" role="group">
|
|
<a href="{% url 'norma:norma_incluir' %}" class="btn btn-default">
|
|
{% blocktrans with verbose_name=view.verbose_name %} Adicionar {{ verbose_name }} {% endblocktrans %}
|
|
</a>
|
|
</div>
|
|
<br /><br /><br />
|
|
{% if object_list %}
|
|
<table class="table table-striped table-bordered">
|
|
<thead class="thead-default">
|
|
<tr>
|
|
<th>Tipo da Norma Juridica</th>
|
|
<th>Número</th>
|
|
<th>Ano</th>
|
|
<th>Data</th>
|
|
<th>Ementa</th>
|
|
</tr>
|
|
</thead>
|
|
{% for obj in object_list %}
|
|
<tr>
|
|
<td><a href="{% url 'norma:normajuridica_detail' obj.id %}">{{obj.tipo}}</a></td>
|
|
<td>{{obj.numero}}</td>
|
|
<td>{{obj.ano}}</td>
|
|
<td>{{obj.data}}</td>
|
|
<td>{{obj.ementa|safe}}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
{% include "paginacao.html" %}
|
|
{% else %}
|
|
<h2>Nenhum Registro recuperado</h2>
|
|
{% endif %}
|
|
{% endblock %}
|
|
|