mirror of https://github.com/interlegis/sapl.git
8 changed files with 24 additions and 161 deletions
@ -1,42 +0,0 @@ |
|||
{% extends "crud/form.html" %} |
|||
{% load i18n %} |
|||
{% load crispy_forms_tags %} |
|||
|
|||
{% block title %} |
|||
<h1 class="page-header">Ordenação dos Cargos</h1> |
|||
{% endblock %} |
|||
|
|||
{% block base_content %} |
|||
<div class="row"> |
|||
<div class="col-md-6"> |
|||
<br/><h3><b>Atualizar Ordenação</b></h3><br/> |
|||
{% crispy form %} |
|||
</div> |
|||
<div class="col-md-6"> |
|||
<br/><h3><b>Ordenação Atual</b></h3><br/> |
|||
<table class="table table-striped table-hover"> |
|||
<thead> |
|||
<tr> |
|||
<th>Posição</th> |
|||
<th>Cargo</th> |
|||
</tr> |
|||
</thead> |
|||
<tbody> |
|||
{% for posicao, cargo in cargos %} |
|||
<tr> |
|||
<td>{{ posicao }}</td> |
|||
{% if cargo %} |
|||
<td> |
|||
<a href="{% url 'sapl.comissoes:cargocomissao_detail' cargo.pk %}">{{ cargo }}</a> |
|||
</td> |
|||
{% else %} |
|||
<td>-</td> |
|||
{% endif %} |
|||
</tr> |
|||
{% endfor %} |
|||
</tbody> |
|||
</table> |
|||
<br/> |
|||
</div> |
|||
</div> |
|||
{% endblock %} |
|||
Loading…
Reference in new issue