mirror of https://github.com/interlegis/sapl.git
2 changed files with 44 additions and 1 deletions
@ -0,0 +1,29 @@ |
|||
{% extends "crud/detail.html" %} |
|||
{% load i18n %} |
|||
|
|||
{% block detail_content %} |
|||
{{ block.super }} |
|||
<h2 class="legend">Pauta</h2> |
|||
<h2 class="legend">Documentos Acessórios</h2> |
|||
{% if docs %} |
|||
<p>Total de registros: <b>{{n_docs}}</b></p> |
|||
<table class="table table-striped table-hover"> |
|||
<thead> |
|||
<tr> |
|||
<th>Documento Acessório</th> |
|||
</tr> |
|||
</thead> |
|||
<tbody> |
|||
{% for doc in docs %} |
|||
<tr> |
|||
<td> |
|||
<a href="{% url 'sapl.comissoes:documentoacessorio_detail' doc.pk %}">{{ doc.nome }}</a> |
|||
</td> |
|||
</tr> |
|||
{% endfor %} |
|||
</tbody> |
|||
</table> |
|||
{% endif %} |
|||
<a href="{% url 'sapl.comissoes:documentoacessorio_create' reuniao_pk %}" class="btn btn-outline-primary">{% trans 'Adicionar Documento Acessório' %}</a> |
|||
<br /><br /> |
|||
{% endblock detail_content %} |
|||
Loading…
Reference in new issue