mirror of https://github.com/interlegis/sapl.git
Eduardo Edson Batista Cordeiro Alves
8 years ago
2 changed files with 0 additions and 59 deletions
@ -1,39 +0,0 @@ |
|||
{% extends "crud/detail.html" %} |
|||
{% load i18n %} |
|||
{% load crispy_forms_tags %} |
|||
{% load common_tags %} |
|||
|
|||
{% block actions %}{% endblock %} |
|||
{% block detail_content %} |
|||
<div class="actions btn-group pull-right" role="group"> |
|||
{% if perms.norma.add_normajuridica %} |
|||
<a href="{% url 'sapl.norma:normajuridica_create' %}" class="btn btn-default">Adicionar Norma Jurídica</a> |
|||
{% endif %} |
|||
</div> |
|||
<br /><br /><br /> |
|||
{% if object_list %} |
|||
<table class="table table-striped"> |
|||
<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 'sapl.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> |
|||
{% else %} |
|||
<h2>Nenhum Registro recuperado</h2> |
|||
{% endif %} |
|||
|
|||
{% endblock detail_content %} |
@ -1,20 +0,0 @@ |
|||
{% extends "crud/detail.html" %} |
|||
{% load i18n %} |
|||
{% load crispy_forms_tags %} |
|||
{% load common_tags %} |
|||
|
|||
|
|||
{% block base_content %} |
|||
{% block actions %} |
|||
<div class="actions btn-group pull-right" role="group"> |
|||
{% if perms.norma.add_normajuridica %} |
|||
<a href="{% url 'sapl.norma:normajuridica_create' %}" class="btn btn-default">{% trans 'Adicionar Norma Juridica' %}</a> |
|||
{% endif %} |
|||
</div> |
|||
<br /><br /> |
|||
{% endblock %} |
|||
|
|||
{% block detail_content %} |
|||
{% crispy form %} |
|||
{% endblock %} |
|||
{% endblock %} |
Loading…
Reference in new issue