mirror of https://github.com/interlegis/sapl.git
2 changed files with 0 additions and 40 deletions
@ -1,33 +0,0 @@ |
|||
{% extends "crud/detail.html" %} |
|||
{% load i18n %} |
|||
{% load crispy_forms_tags %} |
|||
{% block actions %} {% endblock %} |
|||
{% block detail_content %} |
|||
<fieldset> |
|||
<legend>Matéria Legislativa</legend> |
|||
{% include "materia/resumo_detail_materia.html" %} |
|||
|
|||
<fieldset> |
|||
<legend>Documentos Acessório</legend> |
|||
<table class="table table-striped table-bordered"> |
|||
<thead class="thead-default"> |
|||
<tr> |
|||
<th>Nome</th> |
|||
<th>Tipo</th> |
|||
<th>Data</th> |
|||
<th>Autor</th> |
|||
</tr> |
|||
</thead> |
|||
{% for d in docs %} |
|||
<tr> |
|||
<td><a href="{% url 'materia:documento_acessorio_edit' object.id d.id %}">{{d.nome}}</a></td> |
|||
<td>{{d.tipo.descricao}}</td> |
|||
<td>{{d.data|date:'d/m/Y'}}</td> |
|||
<td>{{d.autor}}</td> |
|||
</tr> |
|||
{% endfor %} |
|||
</table> |
|||
</fieldset> |
|||
{% crispy form %} |
|||
</fieldset> |
|||
{% endblock %} |
|||
@ -1,7 +0,0 @@ |
|||
{% extends "crud/detail.html" %} |
|||
{% load i18n %} |
|||
{% load crispy_forms_tags %} |
|||
{% block actions %} {% endblock %} |
|||
{% block detail_content %} |
|||
{% crispy form %} |
|||
{% endblock %} |
|||
Loading…
Reference in new issue