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.
40 lines
925 B
40 lines
925 B
9 years ago
|
{% extends "protocoloadm/detail_doc_detail.html" %}
|
||
|
{% load i18n %}
|
||
|
{% load crispy_forms_tags %}
|
||
|
|
||
|
{% block detail_content %}
|
||
|
<fieldset>
|
||
|
<legend>Documento Administrativo</legend>
|
||
|
<ul class="small-block-grid-3 medium-block-grid-3 large-block-grid-3">
|
||
|
<li>Tipo: <b>{{doc.tipo.sigla}}</b></li>
|
||
|
<li>Número: <b>{{doc.numero}}</b></li>
|
||
|
<li>Ano: <b>{{doc.ano}}</b></li>
|
||
|
</ul>
|
||
|
Assunto: <b>{{doc.assunto}}</b>
|
||
|
|
||
|
<fieldset>
|
||
|
<legend>Documentos Acessórios</legend>
|
||
|
{{ doc_ace_null }}
|
||
|
<table>
|
||
|
<tr>
|
||
|
<th>Documento</th>
|
||
|
<th>Nome</th>
|
||
|
<th>Tipo</th>
|
||
|
<th>Data</th>
|
||
|
<th>Autor</th>
|
||
|
</tr>
|
||
|
{% for d in doc_ace %}
|
||
|
<tr>
|
||
|
<td>{{d.arquivo}}</td>
|
||
|
<td>{{d.nome}}</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 %}
|